Namespace
library
Image / Tag
python:3.13.2-windowsservercore-ltsc2025
Content Digest
sha256:3ef630fdb67869912e50ca657784568bbc1da33e03ae010dd0d7348f757fbaa2
Details
Created

2025-03-12 18:48:46 UTC

Size

2.76 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

9aaa1075d0bd3e8abd0623d2d05de692ff00780579e1b232f259028bac19bb51

PYTHON_VERSION

3.13.2


Layers

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

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

[#002] sha256:7db05ebafac5b0fb7dfa4ed97cc8b2683be4b287bba5e884a0a5e1e13057cfe7 - 0.0% (1.33 KB)

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

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

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

[#006] sha256:097f71ff76ec962ef08c9a66553840cf263f1263f2764877bfa28038280c63c2 - 2.0% (56.5 MB)

[#007] sha256:9dc46af2be7643fc9d0674f87668a6ac672b920e08ec9e61ef2066c25469151f - 0.0% (1.29 KB)


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

Apply image 10.0.26100.2605

2025-03-07 06:08:48 UTC

Install update 10.0.26100.3476

2025-03-12 18:48:06 UTC

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

2025-03-12 18:48:07 UTC

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

2025-03-12 18:48:07 UTC

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

2025-03-12 18:48:08 UTC

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

2025-03-12 18:48:45 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-03-12 18:48:46 UTC

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