Namespace
library
Image / Tag
golang:1.25.9-windowsservercore-ltsc2022
Content Digest
sha256:27009cf0301e144f83a1c8b76c8f0ba9ddbac3af7eac92851bd2b549d8876f92
Details
Created

2026-04-14 21:19:18 UTC

Size

2.03 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

11e8f462726827acccc7ecdad541f2544cbe5506d70fef4fa1ffac7c16288709

GIT_DOWNLOAD_URL

https://github.com/git-for-windows/git/releases/download/v2.48.1.windows.1/MinGit-2.48.1-64-bit.zip

GIT_TAG

v2.48.1.windows.1

GIT_VERSION

2.48.1

GOLANG_VERSION

1.25.9

GOPATH

C:\go


Layers

[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 68.16% (1.39 GB)

[#001] sha256:7111ae68f8961455d230dc12d44c2193d29b7c981e35417323613a0c1aa06384 - 26.61% (554 MB)

[#002] sha256:a087a5c83078249a158dcc895211db8e8e14cc1e3497a33a95a3233f9a4c66ff - 0.0% (1.36 KB)

[#003] sha256:2e0b726b923020e0129b32a318db62e877e01360c5113153f21f5d6cafa7b0f3 - 0.0% (1.35 KB)

[#004] sha256:b86e7d79c5bb4e0dde1c2ecfd08dc7edbead9ec4bf9da29b60994976352ada2d - 0.0% (1.29 KB)

[#005] sha256:125df788c1f8ebf19410b3bd284c8880c7b30e5cd6bb6fae5131b6399b9058d6 - 0.0% (1.29 KB)

[#006] sha256:2df9a746da51736853aae98a9e40fbe8aa8d8129c5f24ce0d5b5cbd6a7dedb45 - 0.0% (1.29 KB)

[#007] sha256:b1f52b6a28731b186cbcbd8944877832ffee0a8a5a9797ec680fc2921fc72dae - 2.35% (49 MB)

[#008] sha256:44b41ca55ebb51a52924f714c2f67cfad9bfc4a035c15fa4e34994bb9cc2bfa7 - 0.0% (1.29 KB)

[#009] sha256:0d87a7e9ae0721a9b5aac429c9740558c3af8de3de6904dc30bd656d2174cd85 - 0.02% (332 KB)

[#010] sha256:feabf74a7e4684d1560bb4a09cae4d5cf4a10aeeedf40b87082ee2672cd0653a - 0.0% (1.3 KB)

[#011] sha256:8e3a1b2534f143008b275667f48261d388497dfd6c6d5b0b25f4aba1593de8b4 - 2.87% (59.7 MB)

[#012] sha256:ff33840aac463e737c25bbf1cdb529a7e4f21b4b22253c0c680068586100a8a8 - 0.0% (1.45 KB)


History
2025-10-09 07:51:18 UTC

Apply image 10.0.20348.4294

2026-04-13 03:24:09 UTC

Install update 10.0.20348.5020

2026-04-14 21:03:15 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]

2026-04-14 21:17:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_VERSION=2.48.1

2026-04-14 21:17:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_TAG=v2.48.1.windows.1

2026-04-14 21:17:10 UTC

powershell -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

2026-04-14 21:17:11 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_SHA256=11e8f462726827acccc7ecdad541f2544cbe5506d70fef4fa1ffac7c16288709

2026-04-14 21:17:32 UTC

powershell -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.';

2026-04-14 21:17:33 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\go

2026-04-14 21:17:38 UTC

powershell -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);

2026-04-14 21:17:39 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.25.9

2026-04-14 21:19:17 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://dl.google.com/go/go1.25.9.windows-amd64.zip'; Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'go.zip'; $sha256 = 'a7a710e225467b34e9e09fb432b829c86c9b2da5821ee5418f7eb2e8ae1a22cc'; 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.';

2026-04-14 21:19:18 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\go