Namespace
library
Image / Tag
golang:1.23.8-windowsservercore-ltsc2025
Content Digest
sha256:0cda3f68d03212b05db2253d16416fbd2fa0f9807a92472688afb4df376001f9
Details
Created

2025-04-18 03:16:21 UTC

Size

3.28 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.23.8

GOPATH

C:\go


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 62.86% (2.06 GB)

[#001] sha256:86a55b9bd12cfb5d81d64963683e6d5d0ba9423233c85140eff135128a64f7ee - 33.48% (1.1 GB)

[#002] sha256:852a91c0336d45ff180305664f397108d2559946d6552ebd1c382eeeca2a6ff3 - 0.0% (1.28 KB)

[#003] sha256:aa35cff30fc672fa71b2fbfa5032c65d60a5ed1e270354782b8f910381e04c93 - 0.0% (1.3 KB)

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

[#005] sha256:cab2c7abc05ec491e238ff360fe55075757fc01cb3fa7011540a70e268cdb168 - 0.0% (1.28 KB)

[#006] sha256:ee2a020a13ae847514cb8257770f3895a18ea450c418f3807710f6672ef481db - 0.0% (1.29 KB)

[#007] sha256:ce6efad37f99cb199ab8751bbe4c5ae5c349df1f374f6ca0412eecda9e2c7deb - 1.45% (48.9 MB)

[#008] sha256:65749214114c37dc92ce27d20d25d75a5f9d3135f56fd46e337f4d8bdb337492 - 0.0% (1.26 KB)

[#009] sha256:27a1cef35b40fe5dd1888667747ea6741a9edbf26d433d27523f75f4e7db9d60 - 0.01% (342 KB)

[#010] sha256:a288ba54f08ec21764caac7a2ca0130f4556c0e9b7f963f81b98dbec2d036428 - 0.0% (1.29 KB)

[#011] sha256:389f9e050d5ecda4ae6b9f1e4af515e6f53592f56a9fceb6296bb61bec95f6ec - 2.2% (74 MB)

[#012] sha256:f4ca6f05fffdb998a4b235371b72d6f1398a0aa3c61cf2fd574c8c37c45a5dd6 - 0.0% (1.43 KB)


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-04-15 10:03:37 UTC

Install update 10.0.26100.3781

2025-04-18 03:14:30 UTC

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

2025-04-18 03:14:32 UTC

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

2025-04-18 03:14:34 UTC

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

2025-04-18 03:14:35 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:14:36 UTC

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

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

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

2025-04-18 03:15:00 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:15:01 UTC

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

2025-04-18 03:16:19 UTC

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

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