Namespace
library
Image / Tag
golang:1.22.6-windowsservercore-1809
Content Digest
sha256:97e3a739ab9ecd19d8441762215a9f1296a33efd7cc90fd3436ccb0f565f6ff5
Details
Created

2024-08-13 20:15:56 UTC

Size

2.18 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.6

GOPATH

C:\go


Layers

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

[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 25.38% (567 MB)

[#002] sha256:07d33ed1475cffbb534ed63eb82d10b7916f0a5973dc88fa6dadc32553b4e644 - 0.0% (1.27 KB)

[#003] sha256:7cf6a9eddc8458d79f841dcb8b18610c3a492e63d3f1d557c1fa84834f22ed2a - 0.0% (1.27 KB)

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

[#005] sha256:0c0329cc6b42d79e3c04748d56bc0f64fff89b739bed2759ccc6fb95672f5a82 - 0.0% (1.27 KB)

[#006] sha256:22b3ec5c702dade1fe94a07b229eeade35fbc8f63a0123f36c5d4e03ab663704 - 0.0% (1.26 KB)

[#007] sha256:7009957fb5d7ebfb7bc97662febe62c4d8a4a5ab2074916745ac1f354edbe565 - 1.09% (24.4 MB)

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

[#009] sha256:08013d2af53a90a5e4765a92e518564985151e1fd63aa237e2103eb08125cbb8 - 0.01% (342 KB)

[#010] sha256:878278ce40b88813b1f8b481c1eeb6f3ef087899fa60d42f5a410d793f7f2d8d - 0.0% (1.33 KB)

[#011] sha256:09c411de579b12448afb38c58b8e670042c0ae19ae1f0c13e5337fcead0fd979 - 3.07% (68.6 MB)

[#012] sha256:5796921e7bee3f73e9af2b75adb4a43c463ece409cafbcabfe7871ac67bb310d - 0.0% (1.44 KB)


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

Apply image 10.0.17763.4499

2024-08-11 07:11:31 UTC

Install update 10.0.17763.6189

2024-08-13 20:13:08 UTC

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

2024-08-13 20:13:10 UTC

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

2024-08-13 20:13:10 UTC

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

2024-08-13 20:13:11 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-08-13 20:13:12 UTC

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

2024-08-13 20:14:14 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-08-13 20:14:14 UTC

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

2024-08-13 20:14:32 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-08-13 20:14:33 UTC

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

2024-08-13 20:15:54 UTC

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

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