Namespace
library
Image / Tag
golang:1.24.2-windowsservercore-1809
Content Digest
sha256:3e1a27a3c4cf7f8592b63a104a6838be413a4f97266e6fc5dc63cccc7659d740
Details
Created

2025-04-18 03:20:13 UTC

Size

2.14 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

11e8f462726827acccc7ecdad541f2544cbe5506d70fef4fa1ffac7c16288709

GIT_DOWNLOAD_URL

https://github.com/git-for-windows/git/releases/download/v2.48.1.windows.1/MinGit-2.48.1-64-bit.zip

GIT_TAG

v2.48.1.windows.1

GIT_VERSION

2.48.1

GOLANG_VERSION

1.24.2

GOPATH

C:\go


Layers

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

[#001] sha256:632102e3f287de7b6ffd6cab740fb7afe94ac8418060651b0954506aeecc48f1 - 19.36% (425 MB)

[#002] sha256:2007307e4ecd50600708f1cab8aedbfdcbca2e92658f21511381cd1ec6a5516a - 0.0% (1.3 KB)

[#003] sha256:9e8c0619555ba0560a08d4179ff21f7eade08d885bbf8b918582235038187ce4 - 0.0% (1.26 KB)

[#004] sha256:6694c9163bda0957a67c7c9839ee55288d0f8dd694ed5f097d687ca57c7ff49f - 0.0% (1.26 KB)

[#005] sha256:30a25107b9ffd1f1f16073c3a9a2a4f59a052fd45d760392969964af009266b4 - 0.0% (1.26 KB)

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

[#007] sha256:a4a8a036b328e6fba5a810bc5a429316a4d47713d271d48e989d89de39e09bea - 2.23% (48.8 MB)

[#008] sha256:7c5a874903032432586f249197c2cd2f6bfadd2a60f5d40baa28614921723be4 - 0.0% (1.35 KB)

[#009] sha256:e710a041267439b5262691e2d30ecff2fc0b3c650bf2212f5feb37737c1a5699 - 0.01% (326 KB)

[#010] sha256:620a13358b585e65ea11446d5830b867c3039fe75352bf22966fef50b0d06904 - 0.0% (1.27 KB)

[#011] sha256:eff53b162c16818dcab696fbf825c35a86febe48b53a58948469824bdd2c4978 - 3.58% (78.5 MB)

[#012] sha256:08468895804da1b9e2e696b68db7f3f2b6c5a1f9599a3a5176e5192308ca5111 - 0.0% (1.4 KB)


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

Apply image 10.0.17763.6293

2025-04-15 01:47:49 UTC

Install update 10.0.17763.7249

2025-04-18 03:17:57 UTC

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

2025-04-18 03:17:59 UTC

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

2025-04-18 03:17:59 UTC

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

2025-04-18 03:18:00 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.48.1.windows.1/MinGit-2.48.1-64-bit.zip

2025-04-18 03:18:01 UTC

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

2025-04-18 03:18:50 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-04-18 03:18:51 UTC

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

2025-04-18 03:18:58 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-04-18 03:18:58 UTC

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

2025-04-18 03:20:12 UTC

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

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