Namespace
library
Image / Tag
golang:1.23.5-windowsservercore-ltsc2025
Content Digest
sha256:d81cd1b1c43daac7fad4c49b8cbe546329f3f9fc092d9b3ce97a8f08463f4531
Details
Created

2025-01-21 23:33:29 UTC

Size

2.42 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.5

GOPATH

C:\go


Layers

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

[#001] sha256:19fa0da9c657652b5d0879f62221964dd2e8f7c37691ba99bce37494e109b27e - 10.94% (272 MB)

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

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

[#004] sha256:61ace9e3906c3ab0d5ad18f5ae63af05611da8a241ea71374475ecef41465bf2 - 0.0% (1.29 KB)

[#005] sha256:5a0bb63fd900a6e5f6781cfdd0aef3b0611f32c425332e74a96d99b476d38aff - 0.0% (1.3 KB)

[#006] sha256:efc18422f91b16f7cfeba6030b0e6be0e66667117bcbfae7974dd7fab3400fb1 - 0.0% (1.29 KB)

[#007] sha256:27548d349410da6b72bb5e34d403f55366d183e332982efb8fef0172d462313a - 0.98% (24.3 MB)

[#008] sha256:e99f337d32742ab190360843841e8a3ca85ec41dbddb3774a93350c9ca51a4e4 - 0.0% (1.26 KB)

[#009] sha256:88ff95bdbdc498600b638c7f7b5cde2451ef2fba03aa8512d6319aa9bb666458 - 0.02% (399 KB)

[#010] sha256:cf8a30dcbfac164c2e3a88f0477d462304f48e3a59bbb0fb6a216774bef99f3f - 0.0% (1.3 KB)

[#011] sha256:fdb0e0b9a3220bca1c14b0cda867af3ce40a665173546da9f74367175f8e602c - 2.98% (74 MB)

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


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

Apply image 10.0.26100.2605

2025-01-13 03:08:16 UTC

Install update 10.0.26100.2894

2025-01-21 23:31:48 UTC

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

2025-01-21 23:31:49 UTC

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

2025-01-21 23:31:50 UTC

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

2025-01-21 23:31:51 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-01-21 23:31:51 UTC

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

2025-01-21 23:32:04 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-01-21 23:32:05 UTC

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

2025-01-21 23:32:12 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-01-21 23:32:13 UTC

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

2025-01-21 23:33:28 UTC

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

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