Namespace
library
Image / Tag
golang:1.16.12-windowsservercore-ltsc2022
Content Digest
sha256:b16278497177b3e671f546e860aea1740d0ce80fdd40311bd8d1b9c22bd1b1ea
Details
Created

2021-12-18 00:59:15 UTC

Size

2.19 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.16.12

GOPATH

C:\gopath


Layers

[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 53.11% (1.17 GB)

[#001] sha256:4d1d74adc6a92e44b3cd592ec9459f1fff926eaf6fc20bb7526360bec71aefc0 - 39.85% (896 MB)

[#002] sha256:5bc74beb7593c703ac99379d225f3a9a445549cc06a3fe18f44e356a45f225f3 - 0.0% (1.39 KB)

[#003] sha256:81b1028951f991b091013b1342c0e005f85e982a60b48918d08057ec5e557fb5 - 0.0% (1.39 KB)

[#004] sha256:d9d9a2d78bb32397305b0c23baa615b85b3bb959b897b93830235374f7cea60e - 0.0% (1.37 KB)

[#005] sha256:b41481e344ce29afc0524200535b20b998a6ef0f78efeb38911f7505d88f7ff5 - 0.0% (1.4 KB)

[#006] sha256:c29bf69ec8994283a1109ba28d117561a4fa559f8b21454ffe509ead402ba193 - 0.0% (1.39 KB)

[#007] sha256:f3cae36644c2d4df990180986e375123e6dfec1ef62ba5ea747a745113d9bad3 - 1.09% (24.5 MB)

[#008] sha256:04007833a27a0659e0ae62c0e9257634a57b0154286b3666ce3d405cb39ec735 - 0.0% (1.36 KB)

[#009] sha256:ab643d0a182c173c30bd88d77ed39f35e0835959a3e8eb58aa4c8d32d79c2b73 - 0.02% (534 KB)

[#010] sha256:4fe6c5ac81d09360a5093ab488b865bb305e9241ba2e26e17e811f3be73e8a34 - 0.0% (1.35 KB)

[#011] sha256:efdd0e2cc99871a868643acdd3953eee6ab7c330d0222e646a53d26fe438bd31 - 5.92% (133 MB)

[#012] sha256:d22f9c8f59acf65c6da738b77342bdc46de4a1e5a52b42c53df26ec6a206645e - 0.0% (1.54 KB)


History
2021-05-08 09:40:24 UTC

Apply image 2022-RTM-amd64

2021-12-08 01:54:07 UTC

Install update ltsc2022-amd64

2021-12-18 00:09:39 UTC

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

2021-12-18 00:09:40 UTC

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

2021-12-18 00:09:41 UTC

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

2021-12-18 00:09:42 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

2021-12-18 00:09:43 UTC

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

2021-12-18 00:11:08 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.';

2021-12-18 00:55:54 UTC

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

2021-12-18 00:56:38 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);

2021-12-18 00:56:39 UTC

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

2021-12-18 00:59:14 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://dl.google.com/go/go1.16.12.windows-amd64.zip'; Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'go.zip'; $sha256 = '83d51801d51dd74baef5f83dcb7c4ecb75b5f46e4145a58e63a15e111743f5f8'; 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 'Removing ...'; Remove-Item go.zip -Force; Write-Host 'Verifying install ("go version") ...'; go version; Write-Host 'Complete.';

2021-12-18 00:59:15 UTC

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