File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,11 @@ steps:
7979 when :
8080 event : [push, tag]
8181 - name : build ecr plugin
82- image : plugins/docker
82+ image : tphoney/docker:windows-1809-amd64
83+ pull : never
8384 settings :
8485 dockerfile : docker/ecr/Dockerfile.windows.amd64.1809
85- repo : plugins/docker
86+ repo : plugins/ecr
8687 username :
8788 from_secret : docker_username
8889 password :
9394 when :
9495 event : [push, tag]
9596 - name : build gcr plugin
96- image : plugins/docker
97+ image : tphoney/docker:windows-1809-amd64
98+ pull : never
9799 settings :
98100 dockerfile : docker/gcr/Dockerfile.windows.amd64.1809
99101 repo : plugins/gcr
@@ -107,7 +109,8 @@ steps:
107109 when :
108110 event : [push, tag]
109111 - name : build acr plugin
110- image : plugins/docker
112+ image : tphoney/docker:windows-1809-amd64
113+ pull : never
111114 settings :
112115 dockerfile : docker/acr/Dockerfile.windows.amd64.1809
113116 repo : plugins/acr
Original file line number Diff line number Diff line change 11# escape=`
2- FROM mcr.microsoft.com/windows/servercore:1809 as download
2+ # using 1809-KB5021237-amd64 as base image, 1809-KB5022286-amd64 does not work
3+ FROM mcr.microsoft.com/windows/servercore:1809-KB5021237 as download
34
45SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
56
6- ENV DOCKER_VERSION 18.09 .1
7+ ENV DOCKER_VERSION 19.03 .1
78
89RUN Invoke-WebRequest 'http://constexpr.org/innoextract/files/innoextract-1.6-windows.zip' -OutFile 'innoextract.zip' -UseBasicParsing ; `
910 Expand-Archive innoextract.zip -DestinationPath C:\ ; `
@@ -13,14 +14,16 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
1314 Invoke-WebRequest $('https://github.com/docker/toolbox/releases/download/v{0}/DockerToolbox-{0}.exe' -f $env:DOCKER_VERSION) -OutFile 'dockertoolbox.exe' -UseBasicParsing
1415RUN /innoextract.exe dockertoolbox.exe
1516
16- FROM mcr.microsoft.com/windows/nanoserver:1809
17+ FROM mcr.microsoft.com/windows/nanoserver:1809-KB5021237-amd64
18+
1719USER ContainerAdministrator
1820
1921LABEL maintainer="Drone.IO Community <
[email protected] >" `
2022 org.label-schema.name="Drone Docker" `
2123 org.label-schema.vendor="Drone.IO Community" `
2224 org.label-schema.schema-version="1.0"
2325
26+ RUN mkdir C:\bin
2427COPY --from=download /windows/system32/netapi32.dll /windows/system32/netapi32.dll
2528COPY --from=download /app/docker.exe C:/bin/docker.exe
2629ADD release/windows/amd64/drone-docker.exe C:/bin/drone-docker.exe
You can’t perform that action at this time.
0 commit comments