Skip to content

Commit 05f94ac

Browse files
StefanSchererMano Marks
authored and
Mano Marks
committed
Build swarm with TP5 (docker#13)
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
1 parent 98999cd commit 05f94ac

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

windows/swarm-windows/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# build windows swarm executable image
22
# adapted from https://stefanscherer.github.io/build-docker-swarm-for-windows-the-docker-way/
33

4-
FROM windowsservercore:10.0.10586.0
4+
FROM windowsservercore:10.0.14300.1000
55

66
# install chocolatey pkg mgr
77
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
88

9-
ENV SWARM_VERSION v1.1.3
9+
ENV SWARM_VERSION v1.2.2
1010
ENV GOROOT C:\\tools\\go
1111
ENV GOPATH C:\\work
1212
ENV SWARM_HOST :2375
@@ -21,8 +21,6 @@ COPY . .
2121
# cleanup to reduce image layer size
2222
RUN install-and-cleanup
2323

24-
ENTRYPOINT powershell -Command \
25-
sleep 2 ; \
26-
\bin\swarm.exe
24+
ENTRYPOINT ["\\bin\\swarm.exe"]
2725

28-
CMD ["--help"]
26+
CMD ["--help"]

0 commit comments

Comments
 (0)