Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker/Dockerfile.windows.1803
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $Progress
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;
RUN C:\git\cmd\git.exe config --system core.autocrlf false

FROM mcr.microsoft.com/powershell:nanoserver-1803
COPY --from=git /git /git
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.windows.1809
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $Progress
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;
RUN C:\git\cmd\git.exe config --system core.autocrlf false

FROM mcr.microsoft.com/powershell:nanoserver-1809
COPY --from=git /git /git
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.windows.1903
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $Progress
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;
RUN C:\git\cmd\git.exe config --system core.autocrlf false

FROM mcr.microsoft.com/powershell:nanoserver-1903
COPY --from=git /git /git
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.windows.1909
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $Progress
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;
RUN C:\git\cmd\git.exe config --system core.autocrlf false

FROM mcr.microsoft.com/powershell:nanoserver-1909
COPY --from=git /git /git
Expand Down