Namespace
library
Image / Tag
golang:1.26.6-windowsservercore-ltsc2025
Content Digest
sha256:385a06df319413a1bfd1fee493867e06ebf4d4f54c9b967c4ec9548e18ea71cc
Details
Created

2026-08-13 19:38:25 UTC

Size

2.39 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.26.6

GOPATH

C:\go


Layers

[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 59.44% (1.42 GB)

[#001] sha256:0e5abeeefbb7b11eb6332573ca632d3d8807213461f1b97f3cfee8899a29583f - 35.82% (875 MB)

[#002] sha256:3b93ce3c1a75aa2a9b1c86bdffb2f0d40754a952881d21f48349cb70dabe0b4c - 0.0% (1.26 KB)

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

[#004] sha256:ff150b06c93ffb10c94133df24ee28a1fb0267d06b741f4d0629060912a05182 - 0.0% (1.23 KB)

[#005] sha256:a0d7cc3088ca115ce6256a99ee34f6134c65d966a787e471c72b351eb1700cb6 - 0.0% (1.25 KB)

[#006] sha256:06eb9dd6dd08d406d1b4ce784cb9efd817972803825780cfca03c3fbac2588e4 - 0.0% (1.27 KB)

[#007] sha256:56a9fe5d7695f2cb67471b32a906cb2ace9d7b2dc0f919df5ab28ae1c62298c2 - 2.0% (48.8 MB)

[#008] sha256:41796dc3e6785aa7f24e72cc28fbe06476c0ef24e20d86e7ed9dc9dc720513c7 - 0.0% (1.27 KB)

[#009] sha256:01827b7624cea20ed297f08e9c44d2985d563bffce2fdf2eceb25ac2328da708 - 0.01% (342 KB)

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

[#011] sha256:6a108569ba0228b9362bf630db9c365f67e7982c439cd23c39f406a7e3f7c91e - 2.73% (66.7 MB)

[#012] sha256:a19e38540cd9d948e869f07cf6ef1c7495ed0613c18035a453b68bded8062665 - 0.0% (1.37 KB)


History
2026-01-11 09:57:36 UTC

Apply image 10.0.26100.32230

2026-08-09 09:10:21 UTC

Install update 10.0.26100.33296

2026-08-13 19:36:00 UTC

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

2026-08-13 19:36:02 UTC

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

2026-08-13 19:36:03 UTC

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

2026-08-13 19:36:03 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-08-13 19:36:04 UTC

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

2026-08-13 19:36:36 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-08-13 19:36:37 UTC

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

2026-08-13 19:36:43 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-08-13 19:36:43 UTC

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

2026-08-13 19:38:24 UTC

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

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