Namespace
library
Image / Tag
golang:1.24.9-windowsservercore-ltsc2022
Content Digest
sha256:b0fe565560f2afc4f7aca0c1f744bcd6679d0cc72a38189eb87e3f24db9b05c4
Details
Created

2025-10-24 18:24:31 UTC

Size

1.59 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.24.9

GOPATH

C:\go


Layers

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

[#001] sha256:130d5bf0bd040ed2a9354c6bb5dc8ff89b34e452980249bf817f0b7cb33a21ce - 5.15% (84.1 MB)

[#002] sha256:17e969c09e3393939c9e6a500d472036f493ca065945e74c4ac359749c0216ff - 0.0% (1.28 KB)

[#003] sha256:b9ece0f7c161b9a2d768c1270b518f3c6ee23c76990f49dc555fbb9d5e5e80db - 0.0% (1.29 KB)

[#004] sha256:0e1b234d5b5bd5c9bedbef684744f3445f3ccf167b256e1a5f58555409ee3641 - 0.0% (1.28 KB)

[#005] sha256:6a55e25b225e4097de92d3fec2cb586d6400464b804cdfbdcf7064e58203c42b - 0.0% (1.3 KB)

[#006] sha256:0d96870e0a902a706cd1177787e30f9f0509ad03c1a31bd791d705332eafa4a7 - 0.0% (1.29 KB)

[#007] sha256:a772eb588f678eb46d4b47b141b13ded24e274e1e8052a44c1d49bda21eeea5e - 3.0% (49 MB)

[#008] sha256:2b00f16b37226767991ad854a6f76695ae10fc949cdf8150d5abe2722bc3db3f - 0.0% (1.29 KB)

[#009] sha256:a36e9504e794a825e3c4630cbe7a825cc67da51f81bd1c7c21701961ee40d59d - 0.02% (320 KB)

[#010] sha256:1ae9df7fd7179071d4ee0adf28a7929ee6fe05ea3de685c570257f5af9bcd329 - 0.0% (1.29 KB)

[#011] sha256:931ce3298eb17e8ed84c8ce05ab92828f67d94d3a79ebe830409918f1c80bbf8 - 4.83% (78.8 MB)

[#012] sha256:78ae73df3ccb8e21407677101bac399f6cb4be0966e8f2a4403d8a365f772d09 - 0.0% (1.4 KB)


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

Apply image 10.0.20348.4294

2025-10-22 21:59:56 UTC

Install update 10.0.20348.4297

2025-10-24 18:21:04 UTC

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

2025-10-24 18:22:25 UTC

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

2025-10-24 18:22:26 UTC

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

2025-10-24 18:22:27 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

2025-10-24 18:22:28 UTC

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

2025-10-24 18:22:45 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.';

2025-10-24 18:22:46 UTC

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

2025-10-24 18:22:52 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);

2025-10-24 18:22:52 UTC

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

2025-10-24 18:24:30 UTC

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

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