Namespace
library
Image / Tag
golang:1.23rc2-windowsservercore-ltsc2022
Content Digest
sha256:935f55dc4820eb608e6200747ee749070924d43181a484ab30b8847daa9f1c3d
Details
Created

2024-07-16 22:00:57 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.23rc2

GOPATH

C:\go


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 61.91% (1.29 GB)

[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 33.48% (716 MB)

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

[#003] sha256:8bc5b8a4b5d88daea4cd9c8e4ef7122320554e3226d5e32995f46ae8f69553c0 - 0.0% (1.25 KB)

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

[#005] sha256:63e1315749f6f78299f5a3202968abadf268288a5de7bcf658f5d530ec0ae679 - 0.0% (1.25 KB)

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

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

[#008] sha256:7de1a424110d85415060980b2a8b60550c4a737137f4281618445dd3968ca1fb - 0.0% (1.25 KB)

[#009] sha256:46d3c1ef683b408f5c49f999c4e6d18c99a4d8f0554464a65a35908fe27841ee - 0.01% (307 KB)

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

[#011] sha256:f8fa92b9eb3714c73ceb3f8b28c26d0eccff1d38c6e0033edcd94cfcb95e58b2 - 3.45% (73.9 MB)

[#012] sha256:51b255826c15ef8a1c8d4b46f16313a2933df878ec6ac13fa81d681b21fd476c - 0.0% (1.25 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-07-03 10:07:02 UTC

Install update 10.0.20348.2582

2024-07-16 21:58:14 UTC

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

2024-07-16 21:58:15 UTC

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

2024-07-16 21:58:16 UTC

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

2024-07-16 21:58:16 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

2024-07-16 21:58:17 UTC

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

2024-07-16 21:59:13 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.';

2024-07-16 21:59:13 UTC

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

2024-07-16 21:59:20 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);

2024-07-16 21:59:20 UTC

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

2024-07-16 22:00:56 UTC

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

2024-07-16 22:00:57 UTC

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