Namespace
library
Image / Tag
golang:1.23.6-windowsservercore-1809
Content Digest
sha256:e5507231aba59e09a03e4b3dee9ea3a502075031fe744c11b19099c6c4aba7c3
Details
Created

2025-02-13 00:32:34 UTC

Size

2.09 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.23.6

GOPATH

C:\go


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 76.8% (1.6 GB)

[#001] sha256:c3af2bd0a1965eaed07372d9df47eb5ee783273fad4e91a30412cdd07c198cc7 - 18.6% (397 MB)

[#002] sha256:d136fde42e6e2bc91f5956d1e8ac33fc4084914e9982e16f2ddaa1a241fdfafe - 0.0% (1.31 KB)

[#003] sha256:0af2a1616935cf9566cec5a3c62a7dc245e7c5af888145e48ea7ce3fbca2aa52 - 0.0% (1.27 KB)

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

[#005] sha256:9efeacb0745fe69e3fc393b6abd1b8685a3e6d4b442f3418888b88c570adef40 - 0.0% (1.27 KB)

[#006] sha256:1944d354e141d0e6fab9973beb428631e15a12c7cf102d9164712bfc5ec2774e - 0.0% (1.27 KB)

[#007] sha256:10a76bdabf7b0e00c0c95acbd81a11afb3c9e98e719a1e05fd131f224f1b6f5e - 1.14% (24.3 MB)

[#008] sha256:f858d3ced918bc0d0c407242159a57e218ee53b65f3f1969c90bb33dbb289d37 - 0.0% (1.34 KB)

[#009] sha256:e8b24259778625afcce89689eef634fd77a27e7d5bf6abdd9d17baa857abd515 - 0.01% (325 KB)

[#010] sha256:376aee295847eb57d8099b4a71488b21729dc5500e739f4d7a50ed8b99b48736 - 0.0% (1.32 KB)

[#011] sha256:472f935a883cd53a550d97a611da1241b94339b34c6c9df9658cb698b8209d5a - 3.45% (73.8 MB)

[#012] sha256:6ada68cd6c4090eea38d86ac6a8ca00d468b62ca4954c03e16a04d3985a57a0d - 0.0% (1.42 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-02-07 18:15:33 UTC

Install update 10.0.17763.6893

2025-02-13 00:30:45 UTC

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

2025-02-13 00:30:46 UTC

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

2025-02-13 00:30:46 UTC

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

2025-02-13 00:30:47 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-13 00:30:48 UTC

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

2025-02-13 00:31:12 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-13 00:31:13 UTC

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

2025-02-13 00:31:20 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-13 00:31:20 UTC

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

2025-02-13 00:32:32 UTC

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

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