File tree 1 file changed +4
-6
lines changed 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
# build windows swarm executable image
2
2
# adapted from https://stefanscherer.github.io/build-docker-swarm-for-windows-the-docker-way/
3
3
4
- FROM windowsservercore:10.0.10586.0
4
+ FROM windowsservercore:10.0.14300.1000
5
5
6
6
# install chocolatey pkg mgr
7
7
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\c hocolatey\b in
8
8
9
- ENV SWARM_VERSION v1.1.3
9
+ ENV SWARM_VERSION v1.2.2
10
10
ENV GOROOT C:\\ tools\\ go
11
11
ENV GOPATH C:\\ work
12
12
ENV SWARM_HOST :2375
@@ -21,8 +21,6 @@ COPY . .
21
21
# cleanup to reduce image layer size
22
22
RUN install-and-cleanup
23
23
24
- ENTRYPOINT powershell -Command \
25
- sleep 2 ; \
26
- \b in\s warm.exe
24
+ ENTRYPOINT ["\\ bin\\ swarm.exe" ]
27
25
28
- CMD ["--help" ]
26
+ CMD ["--help" ]
You can’t perform that action at this time.
0 commit comments