Tag

python:3.12-windowsservercore-ltsc2025
Content Digest: sha256:6625ad6377b3fd8081e580f67a743433aef29d02c63106f22345b4a9e877d210
Manifests
Details
Content Digest

sha256:d8f44f06d507561bc39b64a9d89a19ddfdbe839a0129c08f7e56b740b720350d

Created

2025-05-15 05:07:11 CST

Size

3.25 GB


Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

67b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb

PYTHON_VERSION

3.12.10


Layers

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

[#001] sha256:cc834e13e71633c2d66ec6513d57c31a3157fc5933859d492ecf45fc8a7476c3 - 34.82% (1.13 GB)

[#002] sha256:32b0ffedc784083c1084f079b30fc3d9de9498509c592014cab1e06ff2d75cc9 - 0.0% (1.26 KB)

[#003] sha256:567d0b767111d1edc423f3b8fbf8a9e765f7a7d67956add930e5efbd47669b79 - 0.0% (1.29 KB)

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

[#005] sha256:4bb04be5568266bb338c026e162ec08f4ac048446b149ae24c89ea100f2339fd - 0.0% (1.3 KB)

[#006] sha256:25acd03c997b99284a4b52327acdb8ac10b94f13828e92a897a8ea3a6e93e8b6 - 1.72% (57.4 MB)

[#007] sha256:456a5f3cf642d012d63781c0f95076fb05397bcae04d313f634a729d7af98ed2 - 0.0% (1.29 KB)


History
2024-12-09 06:41:37 CST

Apply image 10.0.26100.2605

2025-05-10 09:13:32 CST

Install update 10.0.26100.4061

2025-05-15 05:06:27 CST

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

2025-05-15 05:06:28 CST

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

2025-05-15 05:06:29 CST

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

2025-05-15 05:06:30 CST

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

2025-05-15 05:07:10 CST

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-15 05:07:11 CST

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.