Namespace
library
Image / Tag
golang:1.23.11-windowsservercore-ltsc2022
Content Digest
sha256:717e83d2616580a7f7dce255dfdaa32b5af56a3b1cbdba26f3fe4baa819e2d05
Details
Created

2025-07-09 18:08:44 UTC

Size

2.24 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.11

GOPATH

C:\go


Layers

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

[#001] sha256:b829944a73d1d8ad37eaa13c64bf9189b6895cc5b45b79bb3563fa325d94b6a7 - 33.97% (780 MB)

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

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

[#004] sha256:2064dd864243ca68b83f22659721fe314f91f72be9fcf817d50a5f51d17480bc - 0.0% (1.25 KB)

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

[#006] sha256:2789cf42aec2ebfbc4d51c756814d66a539874fd86bfc068909b7ce98681dde8 - 0.0% (1.25 KB)

[#007] sha256:09247b0e58bd7d8ef3fafdd53befa0ef937b69ac0e0a55fdd99b0b2247cacfee - 2.13% (48.8 MB)

[#008] sha256:8fda979f3aaaba414ace25342fdc89d1c0a6a926e45b90d84f25a9d422c15f4e - 0.0% (1.35 KB)

[#009] sha256:7116352baab3f98ac01c1f89c7170bb0589d8422cc6c550b0eb9eadc603ea3f1 - 0.01% (330 KB)

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

[#011] sha256:6a2c26c99defc3e53522167daa91cf7d82c6a687c1cc10838207ce1e73b4897a - 3.21% (73.8 MB)

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


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

Apply image 10.0.20348.2700

2025-07-05 05:31:06 UTC

Install update 10.0.20348.3932

2025-07-09 18:06:53 UTC

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

2025-07-09 18:06:54 UTC

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

2025-07-09 18:06:55 UTC

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

2025-07-09 18:06:56 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-07-09 18:06:57 UTC

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

2025-07-09 18:07:12 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-07-09 18:07:12 UTC

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

2025-07-09 18:07:19 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-07-09 18:07:19 UTC

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

2025-07-09 18:08:42 UTC

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

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