Created
August 29, 2017 07:04
-
-
Save LiYiBin/557b0392d8d0165b5e3e26bf0e6000f8 to your computer and use it in GitHub Desktop.
Install Docker client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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