mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
test: Update docker-bench to 17.06.0-ce and new URL scheme
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
a148a8aa45
commit
c2c8ea8689
@ -11,14 +11,14 @@ FROM scratch
|
|||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=mirror /out/ /
|
COPY --from=mirror /out/ /
|
||||||
|
|
||||||
# Add docker
|
# DOCKER_TYPE is stable, edge or test
|
||||||
ENV DOCKER_BUCKET get.docker.com
|
ENV DOCKER_TYPE stable
|
||||||
ENV DOCKER_VERSION 17.05.0-ce
|
ENV DOCKER_VERSION 17.06.0-ce
|
||||||
ENV DOCKER_SHA256 340e0b5a009ba70e1b644136b94d13824db0aeb52e09071410f35a95d94316d9
|
ENV DOCKER_SHA256 e582486c9db0f4229deba9f8517145f8af6c5fae7a1243e6b07876bd3e706620
|
||||||
|
|
||||||
# Install just the client
|
# Install just 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://download.docker.com/linux/static/${DOCKER_TYPE}/$(uname -m)/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \
|
||||||
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \
|
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \
|
||||||
&& tar -xzvf docker.tgz \
|
&& tar -xzvf docker.tgz \
|
||||||
&& mv docker/docker /usr/bin/ \
|
&& mv docker/docker /usr/bin/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user