Skip to content

Instantly share code, notes, and snippets.

@LiYiBin
Created August 29, 2017 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LiYiBin/557b0392d8d0165b5e3e26bf0e6000f8 to your computer and use it in GitHub Desktop.
Save LiYiBin/557b0392d8d0165b5e3e26bf0e6000f8 to your computer and use it in GitHub Desktop.
Install Docker client
# Install Docker client
ARG DOCKER_VERSION=1.13.1
ARG DOCKER_COMPOSE_VERSION=1.14.0
RUN curl -fsSL https://get.docker.com/builds/Linux/x86_64/docker-$DOCKER_VERSION.tgz | tar --strip-components=1 -xz -C /usr/local/bin docker/docker
RUN curl -fsSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment