Namespace
library
Image / Tag
golang:1.23.1-windowsservercore-ltsc2022
Content Digest
sha256:197cca7f072029c62f6b5b831fdebfc03358b2069bc18d75950128696677bd27
Details
Created

2024-09-11 00:03:41 UTC

Size

1.46 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.1

GOPATH

C:\go


Layers

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

[#001] sha256:d8e70f49c20671d030640819fe99e5b846a1ee5d8fb54950cedc8bffd9c6e29a - 0.0% (1.26 KB)

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

[#003] sha256:f726ad3a1e48a9ea73e77512f6f3aaf77051e52138fef0fabe83d10356188556 - 0.0% (1.26 KB)

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

[#005] sha256:53a120805c5139fe19432413b01774c55fe1593495966fedfb484316001dd50a - 0.0% (1.26 KB)

[#006] sha256:bb5010db3b75e0a589feff552b65d39808ef3ac6e6ae01cd982d64ffdf4c9dfe - 1.62% (24.3 MB)

[#007] sha256:88bf413e96f658b2a166655b10f293f82c04512e88f3c05145dcedba34f8f0ce - 0.0% (1.26 KB)

[#008] sha256:bc7beb51ae082094234d5bb9a42204cb0805c7d4c3a4d5f1b30f08f6dfc3dd67 - 0.02% (328 KB)

[#009] sha256:9ede37f38dfa3cd5022991843081e14382488928f40fca1ecc38efc74bfaa8c3 - 0.0% (1.26 KB)

[#010] sha256:d1bdfe800dc36d8ceb8f648238c2c0e6f0d72274752fe15497e99f69712c7cad - 4.94% (73.7 MB)

[#011] sha256:c8bfc9fd2237a63248c24f2d2b4341b9597abe5da57d5f8a3c18bf279b7ce63e - 0.0% (1.4 KB)


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

Apply image 10.0.20348.2700

2024-09-11 00:01:13 UTC

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

2024-09-11 00:01:13 UTC

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

2024-09-11 00:01:14 UTC

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

2024-09-11 00:01:14 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-09-11 00:01:15 UTC

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

2024-09-11 00:01:30 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-09-11 00:01:31 UTC

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

2024-09-11 00:01:37 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-09-11 00:01:38 UTC

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

2024-09-11 00:03:40 UTC

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

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