Namespace
library
Image / Tag
golang:1.24.7-windowsservercore-ltsc2025
Content Digest
sha256:242f28a77e630116e3a514ec2916afc33e3b4c44f2896b4f79906893d4e0a757
Details
Created

2025-09-10 21:59:34 UTC

Size

3.45 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.7

GOPATH

C:\go


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 59.78% (2.06 GB)

[#001] sha256:2e9750fac680d8e6b6c2e0a6f7718b1ccb76f68a6ebd9f9da4c5e470458c7e72 - 36.6% (1.26 GB)

[#002] sha256:c39bf991b65b005f2b7f122bb8e11deadf02225b06438805e32f109fda66c1ea - 0.0% (1.31 KB)

[#003] sha256:e6b4a9bafb66683cf4c6614bc15acca217b357fc03962c26e4a30792302f870a - 0.0% (1.28 KB)

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

[#005] sha256:603b211ec14b07fdaf04f86a5ffa6651bda41201f289b5f4fa6bc5f389fce61e - 0.0% (1.31 KB)

[#006] sha256:2439e0975f931080e19aff52716333d7daa20d6b5acb03e3b161c88738db10f7 - 0.0% (1.29 KB)

[#007] sha256:50e58627431f472ba75fff94d00062473273c3595015296810e0472fcffb5c09 - 1.38% (48.8 MB)

[#008] sha256:a7bdd72104eb17f18d9c3ad961d55a70d7bff5797d88a191ff3fae72d1f3358d - 0.0% (1.26 KB)

[#009] sha256:3f133007c3eb7fcb2d71bc3f826588e5096ca21bb0fcad8be699863d8efbb556 - 0.01% (327 KB)

[#010] sha256:246af087792b5958236bebcf9c11eb1ab2b03ca4797bb6db68d1350afe4e89f2 - 0.0% (1.29 KB)

[#011] sha256:67a5c7502b1b8413087efe4fe6d77315757e609284cb24d25e47ec1521bb9300 - 2.23% (78.7 MB)

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


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-09-06 02:36:14 UTC

Install update 10.0.26100.6584

2025-09-10 21:49:23 UTC

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

2025-09-10 21:57:55 UTC

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

2025-09-10 21:57:55 UTC

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

2025-09-10 21:57:56 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-09-10 21:57:56 UTC

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

2025-09-10 21:58:13 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-09-10 21:58:14 UTC

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

2025-09-10 21:58:19 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-09-10 21:58:19 UTC

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

2025-09-10 21:59:32 UTC

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

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