Namespace
library
Image / Tag
golang:1.24.0-windowsservercore-1809
Content Digest
sha256:f86c0774424ba98561d210cdccc58e3eaefa9b08658e53fbee74c90357f34a4d
Details
Created

2025-02-13 00:39:13 UTC

Size

2.09 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.24.0

GOPATH

C:\go


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 76.63% (1.6 GB)

[#001] sha256:c3af2bd0a1965eaed07372d9df47eb5ee783273fad4e91a30412cdd07c198cc7 - 18.56% (397 MB)

[#002] sha256:5e73efc10c1b43fd72c620d85660bc67f691ad6d9544d4e6e8d0cd3db00fdf8e - 0.0% (1.27 KB)

[#003] sha256:8d8e2dbe7e76529ba3647c86360fffd3ef0b3a91ca0636bcccd959a5ff98e5f0 - 0.0% (1.27 KB)

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

[#005] sha256:af387d60a6d6984ec2ff568136a099ae343b99fb643349eeb33301770d617a9f - 0.0% (1.27 KB)

[#006] sha256:88359ac70bc79256d903ccfe9d99a2436e8f527148dabf49e5b7758b1d7827f4 - 0.0% (1.27 KB)

[#007] sha256:a3304b437c2fbf3db1f0349b9223cd01a637d7e8d12879024cfae8a733eca2a2 - 1.13% (24.3 MB)

[#008] sha256:dd6c8af47b880df4324689d45a5274516940a1225c93d2cad071d375342ef849 - 0.0% (1.27 KB)

[#009] sha256:f5cac5f58527564bb6ecafbae0f995079d2c360db7e29d0ca35b52243326e8d5 - 0.01% (326 KB)

[#010] sha256:663977c4f4c76eb39f55fa75f2a5661740391f99ec2027e1101ee2cee34e23c8 - 0.0% (1.27 KB)

[#011] sha256:55f1adc5074fa9fa244b3451412174105de732b37c0489daa940773482e33ac9 - 3.66% (78.3 MB)

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


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-02-07 18:15:33 UTC

Install update 10.0.17763.6893

2025-02-13 00:36:43 UTC

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

2025-02-13 00:36:45 UTC

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

2025-02-13 00:36:45 UTC

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

2025-02-13 00:36:46 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-13 00:36:47 UTC

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

2025-02-13 00:37:46 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-13 00:37:47 UTC

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

2025-02-13 00:37:53 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-13 00:37:54 UTC

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

2025-02-13 00:39:11 UTC

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

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