Namespace
library
Image / Tag
golang:1.27rc1-windowsservercore-ltsc2022
Content Digest
sha256:4e6c18ca366d373c32a01f92dfd6e406737e6e62124c50b616d5a13f3d8d53a5
Details
Created

2026-06-18 22:33:05 UTC

Size

2.1 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.27rc1

GOPATH

C:\go


Layers

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

[#001] sha256:6897a04901ec162be0eabd7eb636b5ac50d6e37c880f1db618610f2d777b1ce6 - 28.49% (613 MB)

[#002] sha256:5044ef8f474c56c06b6b392eeaeebcb982a26b0022a23a656f697b9b1693571f - 0.0% (1.33 KB)

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

[#004] sha256:d503426c49d1445cf336af7457654a9e5c24c349a1abdf37886d09b3962c67f1 - 0.0% (1.3 KB)

[#005] sha256:14e7204e20952a5c604459660441206874691467c7cb38e4be7abfd6f1e5e384 - 0.0% (1.28 KB)

[#006] sha256:a2d1fcf87128f107d197b57983f12e93da50821cbaf6049eb77ffb6ed3ba0a0f - 0.0% (1.26 KB)

[#007] sha256:ecda417632db81e9509542fd126a17eb3057281f383a65eaaac7d81c03022e39 - 2.28% (49 MB)

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

[#009] sha256:3c4c7ebbfe8a68eaad3db08ce5b0d0b82e459bde9d0e2c508c641eb45ae12981 - 0.01% (309 KB)

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

[#011] sha256:f002d7ad794dac9b95b2e9bee4996c9c15fc3295c60af1c9d7e7ab188c2a7f6c - 3.26% (70.2 MB)

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


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

Apply image 10.0.20348.4294

2026-06-07 06:43:23 UTC

Install update 10.0.20348.5256

2026-06-18 22:28:49 UTC

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

2026-06-18 22:28:51 UTC

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

2026-06-18 22:28:53 UTC

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

2026-06-18 22:28:55 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-06-18 22:28:57 UTC

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

2026-06-18 22:30:11 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-06-18 22:30:12 UTC

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

2026-06-18 22:30: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);

2026-06-18 22:30:20 UTC

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

2026-06-18 22:33:04 UTC

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

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