From fed24c4110ebffc5b93b3c09dc783bd3039dae5e Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Thu, 29 Jun 2017 15:27:34 +0100 Subject: [PATCH] Update to Docker 17.06.0-ce Note that the location of the static binaries changed. Signed-off-by: Justin Cormack --- pkg/docker-ce/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/docker-ce/Dockerfile b/pkg/docker-ce/Dockerfile index 28c251bd9..07e4b156a 100644 --- a/pkg/docker-ce/Dockerfile +++ b/pkg/docker-ce/Dockerfile @@ -31,13 +31,14 @@ RUN set -x \ && echo 'dockremap:165536:65536' >> /etc/subuid \ && echo 'dockremap:165536:65536' >> /etc/subgid -ENV DOCKER_BUCKET get.docker.com -ENV DOCKER_VERSION 17.05.0-ce -ENV DOCKER_SHA256 340e0b5a009ba70e1b644136b94d13824db0aeb52e09071410f35a95d94316d9 +# DOCKER_TYPE is stable, edge or test +ENV DOCKER_TYPE stable +ENV DOCKER_VERSION 17.06.0-ce +ENV DOCKER_SHA256 e582486c9db0f4229deba9f8517145f8af6c5fae7a1243e6b07876bd3e706620 # we could avoid installing client here I suppose RUN set -x \ - && curl -fSL "https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \ + && curl -fSL "https://download.docker.com/linux/static/${DOCKER_TYPE}/$(uname -m)/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \ && echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \ && tar -xzvf docker.tgz \ && mv docker/* /usr/bin/ \