Namespace
library
Image / Tag
python:3-windowsservercore-1809
Content Digest
sha256:a29e8deb6f550d36ed461295ceb7ba33596cbc50085a1e894c3d392cb36fc6eb
Details
Created

2025-05-14 20:59:55 UTC

Size

2.09 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

698f2df46e1a3dd92f393458eea77bd94ef5ff21f0d5bf5cf676f3d28a9b4b6c

PYTHON_VERSION

3.13.3


Layers

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

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

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

[#003] sha256:04229c419d66f43e932720255b814ca418c4db36c33815ccc4f8b4adeac8b2f9 - 0.0% (1.25 KB)

[#004] sha256:42e304aeba1239432e3253cf57ab45c0ffcc2735fc0b243e485e8728baae424d - 0.0% (1.27 KB)

[#005] sha256:62b360e92fdade77d37e51bf4be56ed7e6768cf6b280a1f134f1e2fbb61e6072 - 0.0% (1.26 KB)

[#006] sha256:85f671128b31b989058da85bed679ba3042d4acadebf61aba9924fc97993d4d1 - 2.58% (55.2 MB)

[#007] sha256:fa97b96b35c4581fabc869abe0020ee98e5a955ae580f8053ea6424c29e01f16 - 0.0% (1.24 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 20:59:03 UTC

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

2025-05-14 20:59:04 UTC

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

2025-05-14 20:59:05 UTC

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

2025-05-14 20:59:06 UTC

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

2025-05-14 20:59:54 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 20:59:55 UTC

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