Tag

python:3.12-windowsservercore
Content Digest: sha256:f2ab91b547b695c40a69cb1931cf382cb4019f56e1df5a83c86372d0cc8fb5a4
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"]

Details
Content Digest

sha256:e44556de1e586e363c3661fcbe030ec89bc31a9703e7286d51c0df160f0614f8

Created

2025-05-15 05:08:48 CST

Size

2.17 GB


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 08:01:38 CST

Apply image 10.0.20348.2700

2025-05-10 03:38:10 CST

Install update 10.0.20348.3692

2025-05-15 05:07:56 CST

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

2025-05-15 05:07:57 CST

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

2025-05-15 05:07:58 CST

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

2025-05-15 05:07:59 CST

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

2025-05-15 05:08:47 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:08:48 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.