Namespace
library
Image / Tag
python:3.12.8-windowsservercore-ltsc2025
Content Digest
sha256:91a0b530e016fab4f4475dbf6eb4954fb3c76ee55fcd91e7ea7e22e5eeb0194c
Details
Created

2025-01-22 20:35:49 UTC

Size

2.38 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

71bd44e6b0e91c17558963557e4cdb80b483de9b0a0a9717f06cf896f95ab598

PYTHON_VERSION

3.12.8


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 86.53% (2.06 GB)

[#001] sha256:19fa0da9c657652b5d0879f62221964dd2e8f7c37691ba99bce37494e109b27e - 11.13% (272 MB)

[#002] sha256:49e744adeb38ac315f058069dc46fa6184593e46fedcec5b8837129753fa47a6 - 0.0% (1.26 KB)

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

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

[#005] sha256:687842bf821382c23944ad2145b7bfd335a6c09e008d56531d73ac3084061f12 - 0.0% (1.26 KB)

[#006] sha256:0da25292bf77fdd32c4e87d3ffe10dc129bc46366ac9284c190073c1e21006bd - 2.34% (57.2 MB)

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


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-01-13 03:08:16 UTC

Install update 10.0.26100.2894

2025-01-22 20:35:06 UTC

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

2025-01-22 20:35:07 UTC

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

2025-01-22 20:35:08 UTC

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

2025-01-22 20:35:09 UTC

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

2025-01-22 20:35:48 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-22 20:35:49 UTC

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