Namespace
library
Image / Tag
golang:1.24-windowsservercore-ltsc2022
Content Digest
sha256:7b060285e1e9e399f1412af62e9ed28324cd1d7ea0b51e17d59cec81bd650f17
Details
Created

2026-02-04 17:14:11 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.13

GOPATH

C:\go


Layers

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

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

[#002] sha256:372c741e6f07008abd8606ffd3cd17ba0fd965d027919a92acf7720084b59a25 - 0.0% (1.29 KB)

[#003] sha256:d1f6889821af3a36f62e339ba74c44ccc232fc71aa09636fa866d1a29f32983b - 0.0% (1.3 KB)

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

[#005] sha256:45f6326186bf7def1fc21d8af5065a3260cd1ad40ba6cc2c3e8c9bcd0920a6ae - 0.0% (1.26 KB)

[#006] sha256:1713c02037f5ad4b5db18998d6ea86a64412fd379e8df2489a0e91c573ab2e16 - 0.0% (1.29 KB)

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

[#008] sha256:ee1d4c041c3f6fc7d78ee509f6f4e85aa4c6fdafed202f8d1dc0dcd25a6b7502 - 0.0% (1.3 KB)

[#009] sha256:3b81f1cd31e7a3232f93ea1ab6d0b31500ef3d33d90af078722cd1da3209e97e - 0.02% (346 KB)

[#010] sha256:6da879a2bec9032bd65c74412f61961693be3aa486a94987e7330d35dca72d04 - 0.0% (1.29 KB)

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

[#012] sha256:1ef4581da9c601947707fc65f846c85c0b7afeecb6e8c6b79ae20947ac967614 - 0.0% (1.46 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-02-04 17:11:13 UTC

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

2026-02-04 17:11:15 UTC

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

2026-02-04 17:11:16 UTC

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

2026-02-04 17:11:17 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-02-04 17:11:18 UTC

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

2026-02-04 17:12:20 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-02-04 17:12:21 UTC

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

2026-02-04 17:12:27 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-02-04 17:12:28 UTC

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

2026-02-04 17:14:09 UTC

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

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