Namespace
library
Image / Tag
golang:1.16.15-windowsservercore-ltsc2022
Content Digest
sha256:3917eaeed5cba012398c86a95ac3250fa7dd2e34c3917961a938e028ccee0a78
Details
Created

2022-03-09 13:48:36 UTC

Size

2.22 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.15

GOPATH

C:\gopath


Layers

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

[#001] sha256:037d5740b40414bc505c21324142a1cd3eab10c176189a9a74d1a90354ac7cd4 - 40.62% (925 MB)

[#002] sha256:d58ba398110c3f761c6307a5621ec218b8593ba8b07b734436bcdd8d07a23e08 - 0.0% (1.4 KB)

[#003] sha256:93f0159fc3ccac7854a42bd259b35d4a6482bc698865860892cf564a444b3c63 - 0.0% (1.38 KB)

[#004] sha256:f45aae60408220ac14736ec0b59de947d214ff276f074c4d716f9f2107b81671 - 0.0% (1.39 KB)

[#005] sha256:3eec0ac452237f9eaa33ce02c78ae43641960a5cd004be40f1e99f8eda401f78 - 0.0% (1.38 KB)

[#006] sha256:56b14ad7e0d74c6938398565f29103030d14231a39603cb3fef811fa8a55be4a - 0.0% (1.4 KB)

[#007] sha256:a8065b93123915e69465b4ba5e604b150fa39c4157166451453950874ce4dedf - 1.08% (24.5 MB)

[#008] sha256:7b5231394b3adda95d3e65e8473ce87fd0dd08cc404df5d6e64cbb2f08ad40bc - 0.0% (1.38 KB)

[#009] sha256:164d15c002702eca50dacf2c6b7d110919cb3a33ec620be98172f4cbc7096dc4 - 0.02% (501 KB)

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

[#011] sha256:14e469a170a0bb70e5d2c7782e735db297ac5d5a3da59c80b61783e2026b25e8 - 5.85% (133 MB)

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


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

Apply image 2022-RTM-amd64

2022-03-03 05:02:11 UTC

Install update ltsc2022-amd64

2022-03-08 19:26:53 UTC

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

2022-03-09 13:12:32 UTC

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

2022-03-09 13:12:34 UTC

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

2022-03-09 13:12:35 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

2022-03-09 13:12:36 UTC

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

2022-03-09 13:13:32 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.';

2022-03-09 13:45:04 UTC

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

2022-03-09 13:45:35 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);

2022-03-09 13:45:36 UTC

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

2022-03-09 13:48:34 UTC

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

2022-03-09 13:48:36 UTC

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