Skip to content

Instantly share code, notes, and snippets.

@Leward
Created September 21, 2017 13:51
Show Gist options
  • Save Leward/44a8d628847251bbe930d1295085918e to your computer and use it in GitHub Desktop.
Save Leward/44a8d628847251bbe930d1295085918e to your computer and use it in GitHub Desktop.
circleci/java:8-jdk with rancher-compose CLI
FROM circleci/java:8-jdk
ENV RANCHER_COMPOSE_VERSION=v0.12.5
RUN curl -sSL "https://github.com/rancher/rancher-compose/releases/download/${RANCHER_COMPOSE_VERSION}/rancher-compose-linux-amd64-${RANCHER_COMPOSE_VERSION}.tar.gz" | tar -xzp -C /usr/local/bin/ --strip-components=2
rm -rf /var/cache/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment