Namespace
library
Image / Tag
golang:1.21.12-windowsservercore-1809
Content Digest
sha256:022479c4aa2e7fbe1433cbcfedca7cf09f14dbd508c7ee9a702595a02aa230be
Details
Created

2024-07-10 17:15:09 UTC

Size

2.17 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.21.12

GOPATH

C:\go


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 70.73% (1.54 GB)

[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 25.19% (561 MB)

[#002] sha256:43d5fab19d1d5213108fd00f0ed07d3a18513f54d2f4023a3542f76d8ff7bd53 - 0.0% (1.27 KB)

[#003] sha256:868e8364998155b9615309c75949c11dc9d14278f95954a96bfe197806e5c8c3 - 0.0% (1.27 KB)

[#004] sha256:29007aa90ae6731969eca80e22ec035c2ffb59a9a0093b8df030e532a19e8846 - 0.0% (1.27 KB)

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

[#006] sha256:36d064d9afe5e524ed47e82eafd93934e9be78612357186208d7a3c32c5cd8cd - 0.0% (1.27 KB)

[#007] sha256:2c82144566fa947fc9385fbfa452820b87f1952f248262c7ccae45d67f15440d - 1.1% (24.4 MB)

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

[#009] sha256:642cdc391664285977cb958968011d1a9baa9a0c8240b91374c3762b57d1f081 - 0.02% (351 KB)

[#010] sha256:3b91ea77a4c1777373c00373cd37d5ffdef1619b6d1fca0f3f9758b032ff4271 - 0.0% (1.27 KB)

[#011] sha256:a0589c77804fc01c191f05b9f0b34813595a68817c40afdf34089d019bb988ae - 2.97% (66.2 MB)

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


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-07-03 00:34:32 UTC

Install update 10.0.17763.6054

2024-07-10 17:12:05 UTC

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

2024-07-10 17:12:06 UTC

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

2024-07-10 17:12:07 UTC

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

2024-07-10 17:12:07 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-10 17:12:08 UTC

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

2024-07-10 17:13:22 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-10 17:13:23 UTC

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

2024-07-10 17:13:43 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-10 17:13:44 UTC

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

2024-07-10 17:15:07 UTC

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

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