We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2184d80 commit 0595aabCopy full SHA for 0595aab
Dockerfile
@@ -15,8 +15,6 @@ RUN choco install -y mingw
15
ENV GOPATH C:\gopath
16
RUN git clone -q --branch=v%DOCKER_VERSION% --single-branch https://github.com/docker/cli.git C:\gopath\src\github.com\docker\cli
17
WORKDIR C:\gopath\src\github.com\docker\cli
18
-COPY setversion.ps1 setversion.ps1
19
-RUN powershell -File .\setversion.ps1
20
-RUN type C:\gopath\src\github.com\docker\cli\cli\version.go
+RUN setx VERSION "%DOCKER_VERSION%"
21
RUN powershell -File .\scripts\make.ps1 -Binary
22
RUN dir C:\gopath\src\github.com\docker\cli\build\docker.exe
setversion.ps1
0 commit comments