Namespace
library
Image / Tag
python:3.14.0a5-windowsservercore-ltsc2022
Content Digest
sha256:23aa6dc1b6131795aaf72e2035e0e668377e365972b4657556bd4b9ad30acc8c
Details
Created

2025-03-12 19:05:05 UTC

Size

2.17 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

42fc7082816cbad0cf88cc2ee1f0c81ae72b184e5667ffbc340f1fb17b663537

PYTHON_VERSION

3.14.0a5


Layers

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

[#001] sha256:75861b2b3af9a692daa04d9c15a1c79d8a009e23ed5140003350c9b926460f09 - 34.67% (770 MB)

[#002] sha256:d79755dd5e331d6938b12e7f64bb72c11af0c8ce36e13dabcf933a436019daaf - 0.0% (1.3 KB)

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

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

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

[#006] sha256:d5882757efcc3751ec56d3ce0193146c2c2ae3264f720d04c767dc5d2d9a2a87 - 2.56% (56.9 MB)

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


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

Apply image 10.0.20348.2700

2025-03-06 10:49:01 UTC

Install update 10.0.20348.3328

2025-03-12 19:04:19 UTC

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

2025-03-12 19:04:20 UTC

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

2025-03-12 19:04:21 UTC

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

2025-03-12 19:04:22 UTC

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

2025-03-12 19:05:05 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-03-12 19:05:05 UTC

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