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:
79
79
when :
80
80
event : [push, tag]
81
81
- name : build ecr plugin
82
- image : plugins/docker
82
+ image : tphoney/docker:windows-1809-amd64
83
+ pull : never
83
84
settings :
84
85
dockerfile : docker/ecr/Dockerfile.windows.amd64.1809
85
- repo : plugins/docker
86
+ repo : plugins/ecr
86
87
username :
87
88
from_secret : docker_username
88
89
password :
93
94
when :
94
95
event : [push, tag]
95
96
- name : build gcr plugin
96
- image : plugins/docker
97
+ image : tphoney/docker:windows-1809-amd64
98
+ pull : never
97
99
settings :
98
100
dockerfile : docker/gcr/Dockerfile.windows.amd64.1809
99
101
repo : plugins/gcr
@@ -107,7 +109,8 @@ steps:
107
109
when :
108
110
event : [push, tag]
109
111
- name : build acr plugin
110
- image : plugins/docker
112
+ image : tphoney/docker:windows-1809-amd64
113
+ pull : never
111
114
settings :
112
115
dockerfile : docker/acr/Dockerfile.windows.amd64.1809
113
116
repo : plugins/acr
Original file line number Diff line number Diff line change 1
1
# 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
3
4
4
5
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
5
6
6
- ENV DOCKER_VERSION 18.09 .1
7
+ ENV DOCKER_VERSION 19.03 .1
7
8
8
9
RUN Invoke-WebRequest 'http://constexpr.org/innoextract/files/innoextract-1.6-windows.zip' -OutFile 'innoextract.zip' -UseBasicParsing ; `
9
10
Expand-Archive innoextract.zip -DestinationPath C:\ ; `
@@ -13,14 +14,16 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
13
14
Invoke-WebRequest $('https://github.com/docker/toolbox/releases/download/v{0}/DockerToolbox-{0}.exe' -f $env:DOCKER_VERSION) -OutFile 'dockertoolbox.exe' -UseBasicParsing
14
15
RUN /innoextract.exe dockertoolbox.exe
15
16
16
- FROM mcr.microsoft.com/windows/nanoserver:1809
17
+ FROM mcr.microsoft.com/windows/nanoserver:1809-KB5021237-amd64
18
+
17
19
USER ContainerAdministrator
18
20
19
21
LABEL maintainer="Drone.IO Community <
[email protected] >" `
20
22
org.label-schema.name="Drone Docker" `
21
23
org.label-schema.vendor="Drone.IO Community" `
22
24
org.label-schema.schema-version="1.0"
23
25
26
+ RUN mkdir C:\bin
24
27
COPY --from=download /windows/system32/netapi32.dll /windows/system32/netapi32.dll
25
28
COPY --from=download /app/docker.exe C:/bin/docker.exe
26
29
ADD release/windows/amd64/drone-docker.exe C:/bin/drone-docker.exe
You can’t perform that action at this time.
0 commit comments