Namespace
library
Image / Tag
golang:1.24-rc-windowsservercore-ltsc2022
Content Digest
sha256:d3fd15124d859b1ca32187bc6e21bbe0932ca7d67133696ab1cf1937ea914422
Details
Created

2025-02-06 23:29:58 UTC

Size

2.21 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:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 61.69% (1.36 GB)

[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 33.76% (763 MB)

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

[#003] sha256:6c657eaa94cb78a918beda2b26254f6c72681a36739925da9b6173ba12050a22 - 0.0% (1.24 KB)

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

[#005] sha256:4579a35eee9078f1c8522f19baf1acf2e1f8a45769d492a3b8b0d67cc508656e - 0.0% (1.27 KB)

[#006] sha256:dbe717fe3c10f2c92ce072fdfb17b9c7bee2aeab3e5b8c33955cec452826a781 - 0.0% (1.25 KB)

[#007] sha256:9fc26628815611b0748d9ae363e162fcfa15457200003acc1e55c43763bd586c - 1.07% (24.3 MB)

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

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

[#010] sha256:d2e0d8eb8f47b6d741541a48db1a16e266153ff7af7256a6d5ac7fbf137985a1 - 0.0% (1.25 KB)

[#011] sha256:774535f8e02ee634e22c3967ed90fbf096b3e0ae64ab37e97f7bb89dd0aeb8f2 - 3.47% (78.4 MB)

[#012] sha256:9084cd42f28dc77c2b8f66aa311f846fbd5c19badf258807d81c8d781fbe2437 - 0.0% (1.39 KB)


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

Apply image 10.0.20348.2700

2025-01-12 10:10:43 UTC

Install update 10.0.20348.3091

2025-02-06 23:26:35 UTC

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

2025-02-06 23:26:36 UTC

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

2025-02-06 23:26:37 UTC

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

2025-02-06 23:26: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-06 23:26:39 UTC

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

2025-02-06 23:27:47 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-06 23:27:48 UTC

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

2025-02-06 23:27:58 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-06 23:27:59 UTC

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

2025-02-06 23:29:57 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-06 23:29:58 UTC

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