Namespace
library
Image / Tag
golang:1.23.6-windowsservercore-ltsc2025
Content Digest
sha256:f969cda863ff874ec10344ce076ddf58c6645bc195ea5b71c8d979dcc6464cde
Details
Created

2025-02-27 18:20:58 UTC

Size

2.72 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

8f65208f92c0b4c3ae4c0cf02d4b5f6791d539cd1a07b2df62b7116467724735

GIT_DOWNLOAD_URL

https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/MinGit-2.23.0-64-bit.zip

GIT_TAG

v2.23.0.windows.1

GIT_VERSION

2.23.0

GOLANG_VERSION

1.23.6

GOPATH

C:\go


Layers

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

[#001] sha256:39ec821b2720b751c1158ef60a69ee9d879169daea9bb3099c4f6c525fc30ff3 - 20.59% (573 MB)

[#002] sha256:af89c38ceb0b838563e1bc9c189dd1c10a336cbdb4e83483116b77ddb52223f7 - 0.0% (1.3 KB)

[#003] sha256:b73395fc6c2b323c19bddbbf90856d414e1f1588100f88782232235c7613e0f3 - 0.0% (1.29 KB)

[#004] sha256:866b81da511f46c57f077579f27d80e84904b0c9312b07cb12fa0111d99f3c77 - 0.0% (1.29 KB)

[#005] sha256:7379b21b3e39e9bd10358eed2c42a4592032583010890d26d16a2787fb34b1f4 - 0.0% (1.29 KB)

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

[#007] sha256:2599a1d44bbe502f83e805fbd1715e197ff935cb6b549772004892c15c6df39c - 0.87% (24.3 MB)

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

[#009] sha256:489d85af56614c9bc6857c8abeed5c89eb6b4381f71fa2d52859f56393641bf3 - 0.01% (409 KB)

[#010] sha256:991452afc4e4ae3e2c956a3663889cfcd94aad3e95f257c8007d6021b6746e21 - 0.0% (1.26 KB)

[#011] sha256:6f6c30b8f44bbb78c827e15f8df0121233b34a8eaf0ec176e94e316e7a319777 - 2.66% (74 MB)

[#012] sha256:c93b3926382d04df0c40d3b54abcb503949a4e7b34ff0d98956229b131d494b8 - 0.0% (1.44 KB)


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

Apply image 10.0.26100.2605

2025-02-08 22:54:28 UTC

Install update 10.0.26100.3194

2025-02-27 18:19:05 UTC

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

2025-02-27 18:19:06 UTC

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

2025-02-27 18:19:07 UTC

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

2025-02-27 18:19:07 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/MinGit-2.23.0-64-bit.zip

2025-02-27 18:19:08 UTC

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

2025-02-27 18:19:24 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-02-27 18:19:24 UTC

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

2025-02-27 18:19:30 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-02-27 18:19:31 UTC

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

2025-02-27 18:20:57 UTC

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

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