Namespace
library
Image / Tag
python:3.15.0a1-windowsservercore-ltsc2022
Content Digest
sha256:78c8c822c16ff9e75791ad2b67a6dab3ed77168b2b29afd1b02d9e3fedbcac88
Details
Created

2025-11-11 19:29:40 UTC

Size

1.71 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb

PYTHON_VERSION

3.15.0a1


Layers

[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 81.3% (1.39 GB)

[#001] sha256:3a26269efcb0f33c920b21f98d305592e7310bbe548291a16043e48a0c1feba5 - 15.34% (268 MB)

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

[#003] sha256:7923e584b5bc8ef7bf54e706d60f077a58c58c1eadfc86bb94ee2ba6ae543f8c - 0.0% (1.26 KB)

[#004] sha256:2598009f18a72fb8ea6ca175643c4289d24611ea2b9a851d12f6af40c55c9a1d - 0.0% (1.28 KB)

[#005] sha256:9c46846bd7c736c6c81f1baf5e6fb451dd04e47bf55ac10ac50fead62498d95d - 0.0% (1.28 KB)

[#006] sha256:38c3425940978e3466dc969fc2172f3d5f01458006e69eb36b81577b77ed7ab6 - 3.36% (58.8 MB)

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


History
2025-10-09 07:51:18 UTC

Apply image 10.0.20348.4294

2025-11-05 05:39:13 UTC

Install update 10.0.20348.4405

2025-11-11 19:11:37 UTC

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

2025-11-11 19:28:58 UTC

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

2025-11-11 19:28:58 UTC

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

2025-11-11 19:28:59 UTC

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

2025-11-11 19:29:39 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-11-11 19:29:40 UTC

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