Namespace
library
Image / Tag
golang:1.25rc3-windowsservercore-ltsc2022
Content Digest
sha256:17af278d3b75865a4ef815dc671a18d05b8306b4a647507bb61c7ae02905ae5e
Details
Created

2025-08-12 20:28:58 UTC

Size

2.23 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.25rc3

GOPATH

C:\go


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 61.04% (1.36 GB)

[#001] sha256:06b9b30319b49e62edeeff59663c236bf6a406712417e8a1be70ae07afd76e2c - 34.21% (782 MB)

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

[#003] sha256:c2d7b4fb9f5379827a7a8858f08c7ebdead193cd7668fccc8510b073559d379b - 0.0% (1.25 KB)

[#004] sha256:91406aa8c8f18da20edf1879d96c564d3517d779ccf60ca0cc2a9bc39d789d72 - 0.0% (1.26 KB)

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

[#006] sha256:cf08f7bf7df8407e97a1003bd9c9ff2131c5ab71334f74edc6a176ee7e2cc17b - 0.0% (1.3 KB)

[#007] sha256:f2c4b8bd159a55c3fb79bbfa2ffd3541fad1c4fda9bf912d783b07e050c3b5d4 - 2.14% (48.8 MB)

[#008] sha256:d43f36762ef2eb3bce1fb29ebd16d7b971cdd1d339baf633beb9882dba19f3b7 - 0.0% (1.25 KB)

[#009] sha256:98049114d59838335e2ce124e5aeb7a961bcf5287786d6391dbc405dcefcd26b - 0.01% (329 KB)

[#010] sha256:c96884ac809d736f01c0cd91fdab4c60812178a05eb288ea5c05f12417bd7704 - 0.0% (1.25 KB)

[#011] sha256:795cbefb141b6151177e3049dd14ce313dbf96c3df5e302e51a81d7ed9b2ba55 - 2.6% (59.4 MB)

[#012] sha256:a0425f3976b849cb9f837d88a34ed544a3b3ec17619fc34333c174b9770d3f15 - 0.0% (1.4 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-08-08 18:40:34 UTC

Install update 10.0.20348.4052

2025-08-12 20:26:43 UTC

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

2025-08-12 20:26:44 UTC

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

2025-08-12 20:26:45 UTC

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

2025-08-12 20:26:46 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

2025-08-12 20:26:47 UTC

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

2025-08-12 20:27:03 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.';

2025-08-12 20:27:04 UTC

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

2025-08-12 20:27:10 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);

2025-08-12 20:27:11 UTC

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

2025-08-12 20:28:57 UTC

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

2025-08-12 20:28:58 UTC

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