Namespace
library
Image / Tag
golang:1.23.9-windowsservercore-ltsc2025
Content Digest
sha256:d82903ae848dba71835a01b5d5f7776b8aec807f2974f99a05c5972e0fdea67c
Details
Created

2025-05-14 21:00:33 UTC

Size

3.32 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.23.9

GOPATH

C:\go


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 62.23% (2.06 GB)

[#001] sha256:cc834e13e71633c2d66ec6513d57c31a3157fc5933859d492ecf45fc8a7476c3 - 34.14% (1.13 GB)

[#002] sha256:8082fe36a16aa4975c3138f30ab8ee120893a7683c1608cb38621e3633a1d9df - 0.0% (1.31 KB)

[#003] sha256:1a7bacc2c514993ae2d7abe9200e44ef373c4b81a4efe787ff6e5dc05bf903a7 - 0.0% (1.34 KB)

[#004] sha256:46db9e20fdc498a9b812f458eb790a22e731f279b953c0908b56472d7f43d799 - 0.0% (1.26 KB)

[#005] sha256:19871bcf482fb4c75fe952e4c97e40225a6ae8874ff8c29705fda9250510689b - 0.0% (1.26 KB)

[#006] sha256:e789646451f746b56e2c8b124ef636879ae2a875d4c24d952606c9a38e848aba - 0.0% (1.28 KB)

[#007] sha256:baddb2368dd441252131000ecbdf001f990835de99498b4d2e1465516332e5fd - 1.44% (48.9 MB)

[#008] sha256:73dd8db0df4987cb6bcca66aca6d0422f5696e5d7b25481270d245ce9eeaa7a9 - 0.0% (1.29 KB)

[#009] sha256:7ebdd58a628c26673fecc1bb9deab3c4cca874e352e76c41a75775d31f83cc18 - 0.01% (353 KB)

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

[#011] sha256:bdc1b3ece7fc03e710ff9aa1b315c77947750587b9fac9ee2fa99f19232454f5 - 2.18% (74 MB)

[#012] sha256:1d62e29bb8d6099108c40844821ee7edbb645797e49670461d61bc8f23322047 - 0.0% (1.51 KB)


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-05-10 01:13:32 UTC

Install update 10.0.26100.4061

2025-05-14 20:58:31 UTC

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

2025-05-14 20:58:32 UTC

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

2025-05-14 20:58:33 UTC

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

2025-05-14 20:58:34 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-05-14 20:58:35 UTC

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

2025-05-14 20:58:49 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-05-14 20:58:50 UTC

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

2025-05-14 20:58:57 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-05-14 20:58:58 UTC

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

2025-05-14 21:00:31 UTC

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

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