Namespace
library
Image / Tag
golang:1.27.0-windowsservercore-ltsc2022
Content Digest
sha256:40174a06b91f246531c9c84b983323c242700247361894a50fe6fdfe7e7374b8
Details
Created

2026-08-19 19:54:14 UTC

Size

2.15 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.27.0

GOPATH

C:\go


Layers

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

[#001] sha256:16a37dc2b2d3c6043d57b7ca0e32bc7d3fe761174f2d192d1aabe93b7895c9b7 - 30.1% (663 MB)

[#002] sha256:73fb6de3c959aabb9210b88395fc5903ecd2c51b733875f3cd7dd45e55e971f7 - 0.0% (1.29 KB)

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

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

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

[#006] sha256:8deca15cf1887938789d79f57ff671f3514ac2a9d28345243dde52d0eb2a62aa - 0.0% (1.29 KB)

[#007] sha256:d2ca99cee4a7553678480d64404bfc0fa2faaa3d59363f872ebd34d73ee61de8 - 2.22% (48.8 MB)

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

[#009] sha256:e613ff6ce43938b89304090f7369497fd9127a3d610e692204bd75c7b80e9223 - 0.01% (333 KB)

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

[#011] sha256:37ce313b3ee67d98af1ddf8e2a1ff7d5ca2c403bfcb1c377e44b057578e02abb - 3.19% (70.3 MB)

[#012] sha256:89705a2d9a151109cfebb8ee25332f08deca56f7bf0cc11b2b723700718b9e03 - 0.0% (1.41 KB)


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

Apply image 10.0.20348.4294

2026-08-09 04:19:26 UTC

Install update 10.0.20348.5499

2026-08-19 19:51:07 UTC

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

2026-08-19 19:51:09 UTC

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

2026-08-19 19:51:10 UTC

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

2026-08-19 19:51:10 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-19 19:51:11 UTC

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

2026-08-19 19:52: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-08-19 19:52:12 UTC

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

2026-08-19 19:52:18 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-19 19:52:18 UTC

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

2026-08-19 19:54:13 UTC

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

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