2025-01-14 23:37:09 UTC
2.2 GB
8f65208f92c0b4c3ae4c0cf02d4b5f6791d539cd1a07b2df62b7116467724735
GIT_DOWNLOAD_URLhttps://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/MinGit-2.23.0-64-bit.zip
GIT_TAGv2.23.0.windows.1
GIT_VERSION2.23.0
GOLANG_VERSION1.22.10
GOPATHC:\go
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 61.96% (1.36 GB)
[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 33.91% (763 MB)
[#002] sha256:71d0bde5ce878263c90d07f9a5c6c91521112ab6751b17adcd3e1ff4dca59844 - 0.0% (1.26 KB)
[#003] sha256:b4c9eedeaf3e446a626c215004f91cd0f40700e9e8e0ad8e84cc469c114a172c - 0.0% (1.25 KB)
[#004] sha256:94792583bdca736e5176ad50d7575499c3dcb252a21ae6d60e5e64c163699d00 - 0.0% (1.25 KB)
[#005] sha256:f51906f72f00238a240cf551618ab6b1dfc7e78bdbccef4806efdea8c28a549a - 0.0% (1.25 KB)
[#006] sha256:6543c29e8bd76ec6bdcfb08ee0041e2d8b52eda8eecb2caff32002c9599f1a61 - 0.0% (1.26 KB)
[#007] sha256:e498fa32a90c9ad08f8a1b7f5c6c95da629dbb17fcbdf5db8db40026b8d66e1c - 1.08% (24.3 MB)
[#008] sha256:e354faefe45ab8980bb11fa90867e772d8ad234e7687fbcea690d9579215eb23 - 0.0% (1.25 KB)
[#009] sha256:20bdd4d313e17ead25d476d665a03bf2bb6b2c9812f293b3344b780f5f356e34 - 0.01% (335 KB)
[#010] sha256:a8bafb6908e4993ec30a81864caa60ce45b18cb8137948b73cf916ffa3503b51 - 0.0% (1.25 KB)
[#011] sha256:579abe2a598431e9105eeaf879471bcaf227aba1b48a37d68c087a16670e6b2a - 3.04% (68.5 MB)
[#012] sha256:806f530c444afb67be09d2bb9851acac3921900e017a9f41e428092818c6d197 - 0.0% (1.47 KB)
Apply image 10.0.20348.2700
2025-01-12 10:10:43 UTCInstall update 10.0.20348.3091
2025-01-14 23:35:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-01-14 23:35:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_VERSION=2.23.0
2025-01-14 23:35:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_TAG=v2.23.0.windows.1
2025-01-14 23:35:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/MinGit-2.23.0-64-bit.zip
2025-01-14 23:35:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_SHA256=8f65208f92c0b4c3ae4c0cf02d4b5f6791d539cd1a07b2df62b7116467724735
2025-01-14 23:35:58 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-01-14 23:35:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\go
2025-01-14 23:36:04 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-01-14 23:36:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.22.10
2025-01-14 23:37:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://dl.google.com/go/go1.22.10.windows-amd64.zip'; Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'go.zip'; $sha256 = 'da66f107a0f4959f4615bede230c6bf145a6f01252c6d1ff2b107e293ba339df'; 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-01-14 23:37:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\go