Namespace
library
Image / Tag
python:3.13.1-windowsservercore-ltsc2022
Content Digest
sha256:583561d02f4b17aa7d373e149d246108432284d28447bf6bfe744a85eb37ff79
Details
Created

2025-01-14 23:41:17 UTC

Size

2.16 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

6b33fa9a439a86f553f9f60e538ccabc857d2f308bc77c477c04a46552ade81f

PYTHON_VERSION

3.13.1


Layers

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

[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 34.47% (763 MB)

[#002] sha256:eb6eeca0c6777296f5a2ff701e1ca47d39877cea66acfcff29785ac90221974e - 0.0% (1.28 KB)

[#003] sha256:7948e43b1ed2a0a0147428eb25e98580622f23b76e07631dce002fc91f358673 - 0.0% (1.26 KB)

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

[#005] sha256:2498bd05730bdee7c4fd031ea2f40d30ef18edf15cdf09f4bd40c38b960be281 - 0.0% (1.25 KB)

[#006] sha256:24eaa89f8578fffb2e4fbd1f5941863060f0ec43cd438c666b6b3ff58a932467 - 2.55% (56.4 MB)

[#007] sha256:e051c54df0b95ce6092efbd200ea4149433db85a5eed8f88c1f64af6f280fa7f - 0.0% (1.25 KB)


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

Apply image 10.0.20348.2700

2025-01-12 10:10:43 UTC

Install update 10.0.20348.3091

2025-01-14 23:40:28 UTC

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

2025-01-14 23:40:29 UTC

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

2025-01-14 23:40:29 UTC

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

2025-01-14 23:40:30 UTC

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

2025-01-14 23:41:16 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-01-14 23:41:17 UTC

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