Namespace
library
Image / Tag
python:3.13.3-windowsservercore-ltsc2022
Content Digest
sha256:673d5f03e81550c964341cb7ebe83f89239cadf5270b6f3e677321b5b0158f66
Details
Created

2025-05-14 21:08:18 UTC

Size

2.17 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

698f2df46e1a3dd92f393458eea77bd94ef5ff21f0d5bf5cf676f3d28a9b4b6c

PYTHON_VERSION

3.13.3


Layers

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

[#001] sha256:9f99f0856d3665c6aeede32823351187cdab09d90cb8608ff70427d552ab356b - 34.78% (774 MB)

[#002] sha256:7ff0e4dd7efa5989e8bc4bafdbae8281cfe3b6c6e1fb0ace7c967f6875197e87 - 0.0% (1.25 KB)

[#003] sha256:a8439e54412a351baecd7ee30786516c6f5036f5b96608f42509eac909a0f390 - 0.0% (1.3 KB)

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

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

[#006] sha256:74235f4593ddfb2baac17bcb20948f042e338a4f0f37d56bf9925093b3b088e0 - 2.54% (56.4 MB)

[#007] sha256:f6268e252e5779b0bc804c98ddc3a45ab90d41933b87b6b7dfc90e071f972fd6 - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2025-05-09 19:38:10 UTC

Install update 10.0.20348.3692

2025-05-14 21:07:35 UTC

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

2025-05-14 21:07:36 UTC

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

2025-05-14 21:07:37 UTC

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

2025-05-14 21:07:37 UTC

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

2025-05-14 21:08:17 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-05-14 21:08:18 UTC

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