Updated Compose and Docker versions.

Signed-off-by: James McCoy <james@mcy.email>
This commit is contained in:
James McCoy 2019-03-17 18:18:37 +00:00
parent 9504b935e7
commit a43a3f7165

View File

@ -1,10 +1,10 @@
FROM docker/compose:1.13.0 FROM docker/compose:1.23.2
# because compose requires all sorts of dynamic libs, including glibc, it is much easier to # because compose requires all sorts of dynamic libs, including glibc, it is much easier to
# add docker client to compose than the reverse # add docker client to compose than the reverse
ENV DOCKER_BUCKET get.docker.com ENV DOCKER_BUCKET download.docker.com
ENV DOCKER_VERSION 17.05.0-ce ENV DOCKER_VERSION 18.06.3-ce
ENV DOCKER_SHA256 340e0b5a009ba70e1b644136b94d13824db0aeb52e09071410f35a95d94316d9 #ENV DOCKER_SHA256 340e0b5a009ba70e1b644136b94d13824db0aeb52e09071410f35a95d94316d9
# we need docker compose and docker load # we need docker compose and docker load
# also need curl to test availability of docker API # also need curl to test availability of docker API
@ -12,8 +12,8 @@ RUN apk add --update curl
# we only need the client # we only need the client
RUN set -x \ RUN set -x \
&& curl -fSL "https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \ && curl -fSL "https://${DOCKER_BUCKET}/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \ # && echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \ #checksums don't appear to be avaliable so disabled for now.
&& tar -xzvf docker.tgz \ && tar -xzvf docker.tgz \
&& mv docker/docker /usr/bin/ \ && mv docker/docker /usr/bin/ \
&& rm -rf docker docker.tgz \ && rm -rf docker docker.tgz \