2025-04-18 03:18:54 UTC
2.24 GB
11e8f462726827acccc7ecdad541f2544cbe5506d70fef4fa1ffac7c16288709
GIT_DOWNLOAD_URLhttps://github.com/git-for-windows/git/releases/download/v2.48.1.windows.1/MinGit-2.48.1-64-bit.zip
GIT_TAGv2.48.1.windows.1
GIT_VERSION2.48.1
GOLANG_VERSION1.24.2
GOPATHC:\go
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 60.74% (1.36 GB)
[#001] sha256:b0b6ee194dfee460cc53e0f761b7ff976c08380d6cd1e70cc50ff92cfa99d176 - 33.7% (774 MB)
[#002] sha256:7730b2c4130290a6a7782657e4fa7874c68dc3d507fb226a5c3ed6c17b4e7387 - 0.0% (1.25 KB)
[#003] sha256:d464ee4544d62317748a4d40a12da1c38d123b60f6d0397b63ca590b923c9162 - 0.0% (1.25 KB)
[#004] sha256:d57ad739ecc0e279d8c43ed614977201d2eb658353f6975ad55a5eb81ea447aa - 0.0% (1.25 KB)
[#005] sha256:2992d5b9b9c4cbe569b5ba863677e5bcba7b3680245ac8ae092209404c91d725 - 0.0% (1.25 KB)
[#006] sha256:7c5f30f7602fc70cb61cd2d483ae2cc23f535bc2fa031005dfd02aaaece61cdf - 0.0% (1.25 KB)
[#007] sha256:ddf6184cae4009f90bee4942bf8c24fc54f5f28f50a92c432bdb4a8ec6b837a2 - 2.13% (48.8 MB)
[#008] sha256:497faa1f844159d04f681f84bcd71693fbda6803bf45a8e162e6972fab360e81 - 0.0% (1.25 KB)
[#009] sha256:166d2f2706f92d28da7cb6c7652846e3b038216e802715e282a991532e84f58e - 0.01% (328 KB)
[#010] sha256:b776843821c297979d9d1984a3a3805f82bafadd3dc6e8a99e2fddf3ff41e246 - 0.0% (1.25 KB)
[#011] sha256:aa0bfbf6817e83c91fffcf8b7b541928cf69441bc905c1b7ad7c81fba5240593 - 3.42% (78.4 MB)
[#012] sha256:d89f410e033a7059832d65dae970a4f5d0f67044976a9588820634e66707e07a - 0.0% (1.39 KB)
Apply image 10.0.20348.2700
2025-04-16 03:49:18 UTCInstall update 10.0.20348.3566
2025-04-18 03:17:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-04-18 03:17:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_VERSION=2.48.1
2025-04-18 03:17:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_TAG=v2.48.1.windows.1
2025-04-18 03:17:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.48.1.windows.1/MinGit-2.48.1-64-bit.zip
2025-04-18 03:17:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_SHA256=11e8f462726827acccc7ecdad541f2544cbe5506d70fef4fa1ffac7c16288709
2025-04-18 03:17:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile 'git.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); if ((Get-FileHash git.zip -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive -Path git.zip -DestinationPath C:\git\.; Write-Host 'Removing ...'; Remove-Item git.zip -Force; Write-Host 'Updating PATH ...'; $env:PATH = 'C:\git\cmd;C:\git\mingw64\bin;C:\git\usr\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ("git version") ...'; git version; Write-Host 'Complete.';
2025-04-18 03:17:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\go
2025-04-18 03:17:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
2025-04-18 03:17:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.24.2
2025-04-18 03:18:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://dl.google.com/go/go1.24.2.windows-amd64.zip'; Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'go.zip'; $sha256 = '29c553aabee0743e2ffa3e9fa0cda00ef3b3cc4ff0bc92007f31f80fd69892e1'; Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive go.zip -DestinationPath C:\; Write-Host 'Moving ...'; Move-Item -Path C:\go -Destination 'C:\Program Files\Go'; Write-Host 'Removing ...'; Remove-Item go.zip -Force; Write-Host 'Verifying install ("go version") ...'; go version; Write-Host 'Complete.';
2025-04-18 03:18:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\go
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.