diff --git a/windows/nanoserver/Dockerfile b/windows/nanoserver/Dockerfile index 00aeabba..d1a1ab68 100644 --- a/windows/nanoserver/Dockerfile +++ b/windows/nanoserver/Dockerfile @@ -61,7 +61,7 @@ RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2); ` # Install git ARG GIT_VERSION=2.47.0 -ARG GIT_PATCH_VERSION=1 +ARG GIT_PATCH_VERSION=2 RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; ` # The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different) if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } ` diff --git a/windows/windowsservercore/Dockerfile b/windows/windowsservercore/Dockerfile index 033506f3..6597b34a 100644 --- a/windows/windowsservercore/Dockerfile +++ b/windows/windowsservercore/Dockerfile @@ -56,7 +56,7 @@ USER ContainerAdministrator # Install git ARG GIT_VERSION=2.47.0 -ARG GIT_PATCH_VERSION=1 +ARG GIT_PATCH_VERSION=2 RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; ` # The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different) if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } `