This repository was archived by the owner on Sep 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11FROM debian:jessie
22
3- ARG DOCKER_ENDPOINT
3+ ARG DOCKER_RELEASE_STAGE
44ARG INSTALLER_VERSION
55ARG DOCKER_VERSION
66ARG DOCKER_COMPOSE_VERSION
@@ -36,7 +36,7 @@ RUN curl -fsSL -o /vbox.dmg http://download.virtualbox.org/virtualbox/$VBOX_VERS
3636# the tar archive. If we extract directly, it will create a usr/local/bin
3737# subdirectory (not what we want). So we use --strip-components to remove the
3838# `usr/local/bin` part and drop the bin in the current directory.
39- RUN curl -fsSL -o dockerbins.tgz "https://${DOCKER_ENDPOINT}/builds/Darwin/ x86_64/docker-${DOCKER_VERSION}.tgz" && \
39+ RUN curl -fsSL -o dockerbins.tgz "https://download.docker.com/mac/static/${DOCKER_RELEASE_STAGE}/ x86_64/docker-${DOCKER_VERSION}-x86_64 .tgz" && \
4040 tar xvf dockerbins.tgz docker/docker --strip-components 1 && \
4141 rm dockerbins.tgz
4242RUN chmod +x /docker
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM debian:jessie
22
33ENV DEBIAN_FRONTEND noninteractive
44
5- ARG DOCKER_ENDPOINT
5+ ARG DOCKER_RELEASE_STAGE
66ARG INSTALLER_VERSION
77ARG DOCKER_VERSION
88ARG DOCKER_COMPOSE_VERSION
@@ -32,7 +32,7 @@ RUN mkdir /bundle
3232
3333WORKDIR /bundle
3434
35- RUN curl -fsSL -o dockerbins.zip "https://${DOCKER_ENDPOINT}/builds/Windows/ x86_64/docker-${DOCKER_VERSION}.zip" && \
35+ RUN curl -fsSL -o dockerbins.zip "https://download.docker.com/win/static/${DOCKER_RELEASE_STAGE}/ x86_64/docker-${DOCKER_VERSION}-x86_64 .zip" && \
3636 unzip dockerbins.zip && \
3737 mv docker/docker.exe . && \
3838 rm -r docker/ dockerbins.zip
Original file line number Diff line number Diff line change 66docker build \
77 -t osx-installer \
88 -f Dockerfile.osx \
9- --build-arg DOCKER_ENDPOINT =" ${DOCKER_ENDPOINT } " \
9+ --build-arg DOCKER_RELEASE_STAGE =" ${DOCKER_RELEASE_STAGE } " \
1010 --build-arg INSTALLER_VERSION=" ${INSTALLER_VERSION} " \
1111 --build-arg DOCKER_VERSION=" ${DOCKER_VERSION} " \
1212 --build-arg DOCKER_COMPOSE_VERSION=" ${DOCKER_COMPOSE_VERSION} " \
Original file line number Diff line number Diff line change 66docker build \
77 -t windows-installer \
88 -f Dockerfile.windows \
9- --build-arg DOCKER_ENDPOINT =" ${DOCKER_ENDPOINT } " \
9+ --build-arg DOCKER_RELEASE_STAGE =" ${DOCKER_RELEASE_STAGE } " \
1010 --build-arg INSTALLER_VERSION=" ${INSTALLER_VERSION} " \
1111 --build-arg DOCKER_VERSION=" ${DOCKER_VERSION} " \
1212 --build-arg DOCKER_COMPOSE_VERSION=" ${DOCKER_COMPOSE_VERSION} " \
Original file line number Diff line number Diff line change 1- DOCKER_ENDPOINT =test.docker.com
2- INSTALLER_VERSION=17.06.0-ce-rc1
3- DOCKER_VERSION=17.06.0-ce-rc1
4- DOCKER_COMPOSE_VERSION=1.14.0-rc1
1+ DOCKER_RELEASE_STAGE =test
2+ INSTALLER_VERSION=17.06.0-ce-rc2
3+ DOCKER_VERSION=17.06.0-ce-rc2
4+ DOCKER_COMPOSE_VERSION=1.14.0-rc2
55DOCKER_MACHINE_VERSION=0.12.0
66KITEMATIC_VERSION=0.17.0
77VBOX_VERSION=5.1.22
You can’t perform that action at this time.
0 commit comments