Namespace
library
Image / Tag
golang:1.25rc1-windowsservercore-ltsc2022
Content Digest
sha256:84e3259391c52d719539ec27603840db38472b853c961d6e4d0a6fd379702ab5
Details
Created

2025-06-12 22:42: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.25rc1

GOPATH

C:\go


Layers

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

[#001] sha256:db5652627be066fd088860f3ebfcc61d4cb76922ffa16c5496b4158c7e4e7151 - 34.17% (780 MB)

[#002] sha256:4dfbb49cdba5808cc20298b63034492d1931f7985674d463cac673423212e227 - 0.0% (1.25 KB)

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

[#004] sha256:4a40091eadd1da2a9ee9066b7b504908c8a023bf8e49af009c8194bc6700c9ee - 0.0% (1.25 KB)

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

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

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

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

[#009] sha256:b65c0f4ba6e583581b36af92df3d44466b5eb2a6b40cf675f46b6f51091dfcb5 - 0.01% (340 KB)

[#010] sha256:4226c2b48d2e84489da03594f22563d0d09635a0305a2b2183f754a50fbd5d70 - 0.0% (1.28 KB)

[#011] sha256:d63635868819608f8f35d11d0f6529749ae9330359dc7fd73d686c9dccb4107b - 2.6% (59.5 MB)

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


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

Apply image 10.0.20348.2700

2025-06-05 01:01:39 UTC

Install update 10.0.20348.3807

2025-06-12 22:41:00 UTC

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

2025-06-12 22:41:01 UTC

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

2025-06-12 22:41:01 UTC

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

2025-06-12 22:41:02 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-06-12 22:41:03 UTC

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

2025-06-12 22:41:19 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-06-12 22:41:20 UTC

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

2025-06-12 22:41: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);

2025-06-12 22:41:28 UTC

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

2025-06-12 22:42:56 UTC

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

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