This repository was archived by the owner on Sep 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ ARG VBOX_VERSION
1313ARG VBOX_REV
1414ARG MIXPANEL_TOKEN
1515
16- RUN mkdir -p /go/src/github.com/docker/cli
17- WORKDIR /go/src/github.com/docker/cli
18- RUN git clone https://github.com/docker/cli.git . && git checkout $DOCKER_CLI_COMMIT
19- RUN VERSION=$DOCKER_VERSION ./scripts/build/windows
20-
2116RUN dpkg --add-architecture i386
2217RUN sed -i "s/main/main contrib non-free/" /etc/apt/sources.list
2318RUN apt-get update && apt-get install -yq wine curl unrar unzip
@@ -34,6 +29,18 @@ RUN cd /innosetup && \
3429
3530ENV GIT_VERSION 2.9.0
3631
32+ # Build CLI binary
33+ RUN mkdir -p /go/src/github.com/docker/
34+
35+ RUN git clone https://github.com/docker/docker-ce.git /docker-ce && \
36+ cd /docker-ce && \
37+ git checkout $DOCKER_CLI_COMMIT && \
38+ cp -R components/cli /go/src/github.com/docker/
39+
40+ WORKDIR /go/src/github.com/docker/cli
41+ RUN VERSION=$DOCKER_VERSION GITCOMMIT=$(echo $DOCKER_CLI_COMMIT | cut -c 1-7) ./scripts/build/windows
42+
43+ # Assemble bundle
3744RUN mkdir /bundle
3845
3946WORKDIR /bundle
Original file line number Diff line number Diff line change 11DOCKER_RELEASE_STAGE=stable
22INSTALLER_VERSION=17.12.0-ce
33DOCKER_VERSION=17.12.0-ce
4- DOCKER_CLI_COMMIT=ace5417954ec908d862d59e992c8d77685366eab
4+ DOCKER_CLI_COMMIT=c97c6d62c26c1da407e3086f0b5d3d866ed308bc
55DOCKER_COMPOSE_VERSION=1.18.0
66DOCKER_MACHINE_VERSION=0.13.0
77KITEMATIC_VERSION=0.17.2
You can’t perform that action at this time.
0 commit comments