Namespace
library
Image / Tag
python:3.13.7-windowsservercore-ltsc2022
Content Digest
sha256:12859943ad42342ae425f4458e1a2961752e2299cb965e5754143a7867d5fb19
Details
Created

2025-09-10 22:01:19 UTC

Size

2.18 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

b12e2e82461ac8e51fc43289050bc8eb937a32d84ce4d242e2c88258c37cf2bb

PYTHON_VERSION

3.13.7


Layers

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

[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 35.03% (782 MB)

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

[#003] sha256:50f80d5197c62a5fa9bee0570efc74c7b2183ba595f929882fe95b92f7a3f34a - 0.0% (1.28 KB)

[#004] sha256:0ccf7c5163bc60d86491df7a7759dd222f8186c1db40cea688bc07e2ff694d0a - 0.0% (1.3 KB)

[#005] sha256:b2dd7ec4dc8f3a8f594465ea7318e6cffd6f2bc8c20a4528cec14491c4571d9a - 0.0% (1.29 KB)

[#006] sha256:f2c094fb2635272faaa6259b735d8a99307385beeda9ab4f589d1cdd91fb8b06 - 2.51% (55.9 MB)

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


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

Apply image 10.0.20348.2700

2025-09-05 13:15:05 UTC

Install update 10.0.20348.4171

2025-09-10 22:00:15 UTC

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

2025-09-10 22:00:15 UTC

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

2025-09-10 22:00:16 UTC

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

2025-09-10 22:00:16 UTC

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

2025-09-10 22:01:19 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-09-10 22:01:19 UTC

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