Namespace
library
Image / Tag
golang:1.24.8-windowsservercore-ltsc2022
Content Digest
sha256:146c80fb329fb5ee73863ba2b1ac1446c0d877b562ec19d84dfe7587d301bab9
Details
Created

2025-10-07 19:40:13 UTC

Size

2.25 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.8

GOPATH

C:\go


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 60.51% (1.36 GB)

[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 33.93% (782 MB)

[#002] sha256:7101d6d85ac0f6cb6340df04f641eec54fcaa332c3c6d6a6c0d83eda19a400a9 - 0.0% (1.29 KB)

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

[#004] sha256:366bfea02d593119721a4a31157ae3bd3370877b6d9a4cf415f2f8ac3c1d1f72 - 0.0% (1.26 KB)

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

[#006] sha256:547032e9967560935818801494e8bba087b7db7f80b74e46ce2bade58d0c7a0b - 0.0% (1.29 KB)

[#007] sha256:20007c1a79de0142b10f65626d7e1ad2e0922bd68f84c677671438ba5279db51 - 2.12% (48.8 MB)

[#008] sha256:36c587bd10e56193ffd74f9ac405a8fee078a6ff3349ccf1d71d60e813bc148c - 0.0% (1.29 KB)

[#009] sha256:53441866b314172c89e56c4948dcec4751d30d8eb5baeffde02a2453af03d4e6 - 0.01% (345 KB)

[#010] sha256:ffb5ecd859d830f6f56652faf075c6e7d1c2a63943765474ac3bbe314c82aa7e - 0.0% (1.26 KB)

[#011] sha256:42d4f347b9b0c7db80dd7249f40d23e35354d06e9576015b517b9ef3b77085ab - 3.42% (78.8 MB)

[#012] sha256:bed3736fd80e20e0d3e355980602eceb59f10400951ab446af6e551213fb8c11 - 0.0% (1.43 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-09-05 13:15:05 UTC

Install update 10.0.20348.4171

2025-10-07 19:37:26 UTC

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

2025-10-07 19:37:27 UTC

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

2025-10-07 19:37:28 UTC

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

2025-10-07 19:37:29 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-07 19:37:30 UTC

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

2025-10-07 19:38:18 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-07 19:38:18 UTC

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

2025-10-07 19:38:25 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-07 19:38:25 UTC

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

2025-10-07 19:40:12 UTC

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

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