Tag

python:3.12.9-windowsservercore-ltsc2025
Content Digest: sha256:03751a6a501473bcbe0c1ae1e8ac908e66efebc40bd0bd3b3cb020b909a6e5d8
Manifests
Details
Content Digest

sha256:41ca2042b06353bfac08773fa20bc172b51737737afd80fa4c6c607f4781d63a

Created

2025-03-13 02:48:59 CST

Size

2.76 GB


Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

2a52993092a19cfdffe126e2eeac46a4265e25705614546604ad44988e040c0f

PYTHON_VERSION

3.12.9


Layers

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

[#001] sha256:325ca01145f0fc17834eb1871e37e4a03c69b868e3eb071bf21be6413d720e5e - 23.35% (661 MB)

[#002] sha256:fa6ab578ec8491b47ec39e11a79eeac738d23b741f5f2d9480e6f8f35366e9c8 - 0.0% (1.29 KB)

[#003] sha256:095ddf14630b8b7dcff9dbdf09047657aa0f426431be631646cf7a5f04d5b3cc - 0.0% (1.27 KB)

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

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

[#006] sha256:48feb201ade569bac5347a5e18f93cb3c2392d976e9a90a2fdbf31fec8f5557e - 2.02% (57.3 MB)

[#007] sha256:512c0c087e203eae3cbd53618793e3bc1ce757df8be0d04c962dc392579b9e55 - 0.0% (1.31 KB)


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

Apply image 10.0.26100.2605

2025-03-07 14:08:48 CST

Install update 10.0.26100.3476

2025-03-13 02:48:18 CST

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

2025-03-13 02:48:19 CST

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

2025-03-13 02:48:20 CST

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

2025-03-13 02:48:21 CST

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

2025-03-13 02:48:59 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-03-13 02:48:59 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.