Namespace
library
Image / Tag
golang:1.24.12-windowsservercore-ltsc2022
Content Digest
sha256:650ea7fefd2316cd7998998ca9d1508b0025ec5439f40b09cf5dc06bf7d79383
Details
Created

2026-01-15 19:33:28 UTC

Size

1.83 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.12

GOPATH

C:\go


Layers

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

[#001] sha256:8810874280ba2ea58e95647ea717ead1a5fb07fea1d9160047d580e653fe9cbd - 17.6% (331 MB)

[#002] sha256:234a86e5a5b49b3e12bded0250966c7338a754fb0fb17f33c044101f0ba14fa7 - 0.0% (1.3 KB)

[#003] sha256:b0021511d40ef1a043e293f016b183bca42813fe8adfe88f8eb2480aa1083953 - 0.0% (1.26 KB)

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

[#005] sha256:0a7df30d877a16ece0fb75d717ad365d376c2fb314636f5e1506dc2aef0026bd - 0.0% (1.28 KB)

[#006] sha256:1554c9b026baeb67524e9858a7ab3fd6e0180a62922a58882aac40d8ad2ad4a2 - 0.0% (1.28 KB)

[#007] sha256:22cb7834088f28a341710ed6af99b665b9701e80e974dcc3e81bad69f8b60c84 - 2.61% (49 MB)

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

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

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

[#011] sha256:acd4d04a3047df77043399e63267a40b259da326470e6b1d74a470985a77199e - 4.19% (78.8 MB)

[#012] sha256:8a4c99d654180a9ff7c2fa19cf7389e9ed45d0c9508f442623cd2367b21d0281 - 0.0% (1.42 KB)


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

Apply image 10.0.20348.4294

2026-01-09 00:11:24 UTC

Install update 10.0.20348.4648

2026-01-15 19:30:45 UTC

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

2026-01-15 19:30:46 UTC

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

2026-01-15 19:30:47 UTC

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

2026-01-15 19:30:48 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-01-15 19:30:49 UTC

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

2026-01-15 19:31: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-01-15 19:31:32 UTC

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

2026-01-15 19:31: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-01-15 19:31:38 UTC

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

2026-01-15 19:33:27 UTC

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

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