Namespace
library
Image / Tag
python:3.12.10-windowsservercore-1809
Content Digest
sha256:29264625681ec573715a9e4742fc62d517e66b102cae0dac993a3c56ce1852be
Details
Created

2025-05-14 21:02:41 UTC

Size

2.09 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

67b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb

PYTHON_VERSION

3.12.10


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 76.71% (1.6 GB)

[#001] sha256:a95a939635fd6bec8c1562dcdbdde2fdb64095d1be9873313939c878db6f7279 - 20.67% (442 MB)

[#002] sha256:f8223cfc55541f2c8fe083bb4ab6e3fb60bdaf483d8bbb133de4abade089cc21 - 0.0% (1.31 KB)

[#003] sha256:0feafd314dbe2c54629d5ab05e755a69e599f5376d89d037ecdeaf0ab0f5c17c - 0.0% (1.31 KB)

[#004] sha256:2673a5986e4c9b584f69a34a3848ba077e9036e78713af82e47b3f6f332912e9 - 0.0% (1.32 KB)

[#005] sha256:54460b2f5ec458eb0266282e48f310f51470906521f8d24ebc775f34e56b786c - 0.0% (1.31 KB)

[#006] sha256:4a899b710bb575dc9daf02743f7e656cecae43ef738a2656555c4b7063123ecf - 2.62% (56.1 MB)

[#007] sha256:e8bc3300376edee630648fe5977f2cccf643219214240662b231f0379515a133 - 0.0% (1.36 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-05-09 13:51:15 UTC

Install update 10.0.17763.7314

2025-05-14 21:01:46 UTC

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

2025-05-14 21:01:47 UTC

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

2025-05-14 21:01:48 UTC

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

2025-05-14 21:01:48 UTC

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

2025-05-14 21:02:40 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:02:41 UTC

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