Namespace
library
Image / Tag
python:3.12-windowsservercore-ltsc2022
Content Digest
sha256:035418c04b5e8fcb13c6b23f6c801a52c510c43e8bf27e2379d26ad8c40c87a7
Details
Created

2025-05-14 21:08:48 UTC

Size

2.17 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

67b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb

PYTHON_VERSION

3.12.10


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 62.66% (1.36 GB)

[#001] sha256:9f99f0856d3665c6aeede32823351187cdab09d90cb8608ff70427d552ab356b - 34.77% (774 MB)

[#002] sha256:8ccf13efc94f4ebc6c13ce98b48ed1bd71428da31483dd7707097e73f2c8e442 - 0.0% (1.25 KB)

[#003] sha256:2af949f194554c1691c4a43d106836218a27c6ee00747ce680cb12f490ce35b9 - 0.0% (1.25 KB)

[#004] sha256:4f43c7c7042e45762040109733545448186278a41266478f0cb1b48a70ddbd21 - 0.0% (1.25 KB)

[#005] sha256:2bbde1b9580cf7929ed951f1c6b19e9a1673c8d13770b5b0668e95446c4aafa9 - 0.0% (1.26 KB)

[#006] sha256:9f71676ebc324c6c3dc86e9ca6391451212781ec0dee28f6874340253d430dc5 - 2.57% (57.3 MB)

[#007] sha256:06b55c81e561d9fa8fe7be19d4b4635ae24215ae35e66abc3bd90abc502af10e - 0.0% (1.25 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-05-09 19:38:10 UTC

Install update 10.0.20348.3692

2025-05-14 21:07:56 UTC

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

2025-05-14 21:07:57 UTC

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

2025-05-14 21:07:58 UTC

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

2025-05-14 21:07:59 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=67b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb

2025-05-14 21:08:47 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'python.exe'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Installing ...'; $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru -ArgumentList @( '/quiet', 'InstallAllUsers=1', 'TargetDir=C:\Python', 'PrependPath=1', 'Shortcuts=0', 'Include_doc=0', 'Include_pip=1', 'Include_test=0' ) ).ExitCode; if ($exitCode -ne 0) { Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; exit $exitCode; } $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' python --version'; python --version; Write-Host 'Removing ...'; Remove-Item python.exe -Force; Remove-Item $env:TEMP/Python*.log -Force; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2025-05-14 21:08:48 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete