Update dockerfiles and manifest for windows
This commit is contained in:
parent
e7468f9a19
commit
1fc5fded5a
@ -1,11 +1,13 @@
|
||||
FROM microsoft/windowsservercore:1803 AS git
|
||||
# escape=`
|
||||
|
||||
FROM mcr.microsoft.com/windows/servercore:1803 AS git
|
||||
SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
|
||||
Invoke-WebRequest -UseBasicParsing https://github.com/git-for-windows/git/releases/download/v2.19.0-rc2.windows.1/MinGit-2.19.0.rc2.windows.1-64-bit.zip -OutFile git.zip; \
|
||||
Expand-Archive git.zip -DestinationPath C:\git
|
||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
|
||||
Invoke-WebRequest -UseBasicParsing https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/MinGit-2.21.0-64-bit.zip -OutFile git.zip; `
|
||||
Expand-Archive git.zip -DestinationPath C:\git;
|
||||
|
||||
FROM microsoft/powershell:nanoserver-1803
|
||||
FROM mcr.microsoft.com/powershell:nanoserver-1803
|
||||
COPY --from=git /git /git
|
||||
|
||||
ADD windows/* /bin/
|
||||
|
@ -1,11 +1,13 @@
|
||||
FROM microsoft/windowsservercore:1709 AS git
|
||||
# escape=`
|
||||
|
||||
FROM mcr.microsoft.com/windows/servercore:1809 AS git
|
||||
SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
|
||||
Invoke-WebRequest -UseBasicParsing https://github.com/git-for-windows/git/releases/download/v2.19.0-rc2.windows.1/MinGit-2.19.0.rc2.windows.1-64-bit.zip -OutFile git.zip; \
|
||||
Expand-Archive git.zip -DestinationPath C:\git
|
||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
|
||||
Invoke-WebRequest -UseBasicParsing https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/MinGit-2.21.0-64-bit.zip -OutFile git.zip; `
|
||||
Expand-Archive git.zip -DestinationPath C:\git;
|
||||
|
||||
FROM microsoft/powershell:nanoserver-1709
|
||||
FROM mcr.microsoft.com/powershell:nanoserver-1809
|
||||
COPY --from=git /git /git
|
||||
|
||||
ADD windows/* /bin/
|
@ -24,8 +24,14 @@ manifests:
|
||||
architecture: arm
|
||||
os: linux
|
||||
-
|
||||
image: drone/git:windows-1803
|
||||
image: drone/git:windows-1803-amd64
|
||||
platform:
|
||||
architecture: arm
|
||||
os: linux
|
||||
os.version: 10.0.17134.165
|
||||
architecture: amd64
|
||||
os: windows
|
||||
version: 1803
|
||||
-
|
||||
image: drone/git:windows-1809-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: windows
|
||||
version: 1809
|
||||
|
Loading…
Reference in New Issue
Block a user