Namespace
library
Image / Tag
golang:1.24rc3-windowsservercore-1809
Content Digest
sha256:ef5a43cad4e77db98cc4c7b9ac70c9b40da645d92418921aed1fedfe2e59ddab
Details
Created

2025-02-07 00:30:30 UTC

Size

2.08 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.24rc3

GOPATH

C:\go


Layers

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

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

[#002] sha256:9588cd7b9d87887f7ed84a5a56c5420d731984838b64ceda2bdbc3ce7afa24e7 - 0.0% (1.33 KB)

[#003] sha256:fbb4d0f83f00bcef8024aeb08c9d0b91021292b697c350c9afa78ec2361f290b - 0.0% (1.33 KB)

[#004] sha256:9ef50323475b152a5aa167a39a6331e2d2a78396830e1103e1433e448a494ba6 - 0.0% (1.33 KB)

[#005] sha256:6840ac857874b03f86cc58f643ba066a7021d04db0929781fb3731b86f8ccdc7 - 0.0% (1.34 KB)

[#006] sha256:39756170b941084243fbfc2eb5901a6a471f5bc860f2bff1b738a51d466b8c4c - 0.0% (1.33 KB)

[#007] sha256:51cbfdfe250e4d598ed5892f9518fd6abe3cbc8aac2c6cd29249b69fd2b0ce3d - 1.14% (24.3 MB)

[#008] sha256:75e7b68482f9624faca7075cc37ea4e2159bf6c6bbc937454839cea8527aa296 - 0.0% (1.3 KB)

[#009] sha256:73455e079f6c36bbb5d335aa588b2ba63674798196c17f1f9a82f6afa0cd31d8 - 0.02% (338 KB)

[#010] sha256:af19c0add2d0972c3f9e4fe7d7776e8b27959625e1497403cc3cc038083c7621 - 0.0% (1.32 KB)

[#011] sha256:872526086c677df44c34faecbb5466252780772de4d8be2742f4acb0977c46fc - 3.69% (78.5 MB)

[#012] sha256:1f2dad0fd9f601c1f3945cc7e9a798b1a74cafaf60c468b7a457ac9fa95d12d7 - 0.0% (1.46 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-07 00:27:21 UTC

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

2025-02-07 00:27:23 UTC

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

2025-02-07 00:27:23 UTC

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

2025-02-07 00:27:24 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-07 00:27:24 UTC

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

2025-02-07 00:28:44 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-07 00:28:45 UTC

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

2025-02-07 00:28:52 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-07 00:28:53 UTC

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

2025-02-07 00:30:29 UTC

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

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