Namespace
library
Image / Tag
golang:1.22.12-windowsservercore-1809
Content Digest
sha256:2d5720015a34ab4447960d1aff9bd114af3a44dd66461df93b0a6ac034f5c51a
Details
Created

2025-02-04 19:35:59 UTC

Size

2.07 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.22.12

GOPATH

C:\go


Layers

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

[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 18.11% (383 MB)

[#002] sha256:82df39b11109b10ab007b18374ea4efbd19a3b6bbfeea9e2fd7002eb88ad848f - 0.0% (1.29 KB)

[#003] sha256:9b2b35030741ffa5a00d2f52997ee39f93ac30a32b8767ee4b6964f70094e44b - 0.0% (1.27 KB)

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

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

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

[#007] sha256:e1db43305e8315928ca1b64b8b49572da8383fb3f5ac0b1e15353c05294875ba - 1.15% (24.3 MB)

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

[#009] sha256:bd19cea41a09dfba510e50739916d51189231f284be860c55f646d8902634922 - 0.02% (325 KB)

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

[#011] sha256:69290d50e6440fe22905e573617b57152be09f410edddaa101531bca66dcc7d2 - 3.23% (68.4 MB)

[#012] sha256:3fd2d4be52e44ca109d26f12feefe55a10ceb92bcdfc4be1c9bebfdca1747aca - 0.0% (1.41 KB)


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

Apply image 10.0.17763.6293

2025-01-09 09:46:25 UTC

Install update 10.0.17763.6775

2025-02-04 19:32:35 UTC

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

2025-02-04 19:32:37 UTC

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

2025-02-04 19:32:37 UTC

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

2025-02-04 19:32:38 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-04 19:32:38 UTC

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

2025-02-04 19:33:57 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-04 19:33:58 UTC

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

2025-02-04 19:34:05 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-04 19:34:06 UTC

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

2025-02-04 19:35:58 UTC

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

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