mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-09 17:20:39 +00:00
remove 1903 netapi32
This commit is contained in:
parent
8d8851bf98
commit
98722a6680
@ -3,9 +3,9 @@ FROM mcr.microsoft.com/windows/servercore:1903 as download
|
|||||||
|
|
||||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||||
|
|
||||||
ENV DOCKER_VERSION 18.09.1
|
ENV DOCKER_VERSION 19.03.1
|
||||||
|
|
||||||
RUN Invoke-WebRequest 'http://constexpr.org/innoextract/files/innoextract-1.6-windows.zip' -OutFile 'innoextract.zip' -UseBasicParsing ; `
|
RUN Invoke-WebRequest 'http://constexpr.org/innoextract/files/innoextract-1.7-windows.zip' -OutFile 'innoextract.zip' -UseBasicParsing ; `
|
||||||
Expand-Archive innoextract.zip -DestinationPath C:\ ; `
|
Expand-Archive innoextract.zip -DestinationPath C:\ ; `
|
||||||
Remove-Item -Path innoextract.zip
|
Remove-Item -Path innoextract.zip
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
|
|||||||
org.label-schema.vendor="Drone.IO Community" `
|
org.label-schema.vendor="Drone.IO Community" `
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
||||||
COPY --from=download /windows/system32/netapi32.dll /windows/system32/netapi32.dll
|
RUN mkdir C:\bin
|
||||||
COPY --from=download /app/docker.exe C:/bin/docker.exe
|
COPY --from=download /app/docker.exe C:/bin/docker.exe
|
||||||
ADD release/windows/amd64/drone-docker.exe C:/bin/drone-docker.exe
|
ADD release/windows/amd64/drone-docker.exe C:/bin/drone-docker.exe
|
||||||
ENTRYPOINT [ "C:\\bin\\drone-docker.exe" ]
|
ENTRYPOINT [ "C:\\bin\\drone-docker.exe" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user