Namespace
library
Image / Tag
python:3.13.4-windowsservercore-ltsc2022
Content Digest
sha256:9dc240f6d49b9782d08d10768f585c8f180dc148db16f09d82dda789b4fb65dc
Details
Created

2025-06-10 21:38:45 UTC

Size

2.18 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

94f53bb832539ea02d6ce581d7c1fcc36228e04a611b8dcfe797ad4bbc0a45c1

PYTHON_VERSION

3.13.4


Layers

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

[#001] sha256:db5652627be066fd088860f3ebfcc61d4cb76922ffa16c5496b4158c7e4e7151 - 34.97% (780 MB)

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

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

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

[#005] sha256:237605e27b7f7285f4b6cac5962bba8a63be49df77b113e6178e2a5c7f1e9987 - 0.0% (1.25 KB)

[#006] sha256:0ee4db0e10fafa7a9cb77e2b25dc07046b9dce5f9f64544af3f32e0e82cf1da9 - 2.53% (56.4 MB)

[#007] sha256:3b7c39b22f483b1be0df0dcc2367ba6f361e19cdd0fce5450c95eabe50a8cd8e - 0.0% (1.35 KB)


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

Apply image 10.0.20348.2700

2025-06-05 01:01:39 UTC

Install update 10.0.20348.3807

2025-06-10 21:37:50 UTC

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

2025-06-10 21:37:51 UTC

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

2025-06-10 21:37:51 UTC

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

2025-06-10 21:37:52 UTC

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

2025-06-10 21:38:43 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-06-10 21:38:45 UTC

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