Merge pull request #10 from donny-dont/windows-dockerfiles [ci skip]
Update dockerfiles and manifest for windows
This commit is contained in:
commit
6dca8731a7
@ -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';"]
|
SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||||
|
|
||||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
|
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; \
|
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
|
Expand-Archive git.zip -DestinationPath C:\git;
|
||||||
|
|
||||||
FROM microsoft/powershell:nanoserver-1803
|
FROM mcr.microsoft.com/powershell:nanoserver-1803
|
||||||
COPY --from=git /git /git
|
COPY --from=git /git /git
|
||||||
|
|
||||||
ADD windows/* /bin/
|
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';"]
|
SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||||
|
|
||||||
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
|
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; \
|
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
|
Expand-Archive git.zip -DestinationPath C:\git;
|
||||||
|
|
||||||
FROM microsoft/powershell:nanoserver-1709
|
FROM mcr.microsoft.com/powershell:nanoserver-1809
|
||||||
COPY --from=git /git /git
|
COPY --from=git /git /git
|
||||||
|
|
||||||
ADD windows/* /bin/
|
ADD windows/* /bin/
|
@ -24,8 +24,14 @@ manifests:
|
|||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
-
|
-
|
||||||
image: drone/git:windows-1803
|
image: drone/git:windows-1803-amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: amd64
|
||||||
os: linux
|
os: windows
|
||||||
os.version: 10.0.17134.165
|
version: 1803
|
||||||
|
-
|
||||||
|
image: drone/git:windows-1809-amd64
|
||||||
|
platform:
|
||||||
|
architecture: amd64
|
||||||
|
os: windows
|
||||||
|
version: 1809
|
||||||
|
Loading…
Reference in New Issue
Block a user