Namespace
library
Image / Tag
golang:1.21.11-windowsservercore-ltsc2022
Content Digest
sha256:a5757df69ef081cdff9de9eaa2a6b393e7e235ade5f06df0ec04c12dae789f60
Details
Created

2024-06-22 00:03:13 UTC

Size

2.06 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.11

GOPATH

C:\go


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 62.73% (1.29 GB)

[#001] sha256:eb373ec9afdfc5f09b9380d981e0c61f9c7b48537b887135c7c66810086e705e - 32.96% (696 MB)

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

[#003] sha256:d45138b85ccaf9d7a7dae37fc864dec6857744cad08c474496171c5a679d8a8c - 0.0% (1.25 KB)

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

[#005] sha256:baf84f8ebe435f289a054699892093e4afd9caebfd5f019210284eea687e1779 - 0.0% (1.25 KB)

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

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

[#008] sha256:0317da8b97583e7425eb9606b2e6c6ef00e44cb13aefac24176313ceaeac7ec8 - 0.0% (1.31 KB)

[#009] sha256:b0139bd0911e1a62682a5932013a43fa03ad8c9bbb4aad9bfffddb59debec1b9 - 0.02% (330 KB)

[#010] sha256:4f9af84642a21f07e32ee47c4001a0966df7da6b703b32478382e486e853ea30 - 0.0% (1.33 KB)

[#011] sha256:2b48c55a2a7c035a5ff2a4799d100eee0e5b8156945d7b63bd5759c561d12f86 - 3.14% (66.4 MB)

[#012] sha256:8453832aaefb64b9a63338d00932ff495c2d6d5f80f003cd31e3cc2f78b06c05 - 0.0% (1.39 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-06-19 19:58:05 UTC

Install update 10.0.20348.2529

2024-06-22 00:01:39 UTC

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

2024-06-22 00:01:39 UTC

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

2024-06-22 00:01:40 UTC

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

2024-06-22 00:01:41 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-06-22 00:01:42 UTC

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

2024-06-22 00:01:56 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-06-22 00:01:57 UTC

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

2024-06-22 00:02:02 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-06-22 00:02:03 UTC

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

2024-06-22 00:03:12 UTC

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

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