2025-10-14 20:53:06 UTC
1.44 GB
UTF-8
PYTHON_SHA256f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14
PYTHON_VERSION3.13.8
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 96.21% (1.39 GB)
[#001] sha256:5d69910297fad50ffc461b607623e7deea128c2f2ed652341ab8682223c1249b - 0.0% (1.29 KB)
[#002] sha256:3446127170afdeb57742ca016297854803b344289f853d2569ae7f8ad174ec26 - 0.0% (1.28 KB)
[#003] sha256:d885c5709c87eb38ed5ca551ae478c2acaea0d963e4a04d984584ceea201221f - 0.0% (1.26 KB)
[#004] sha256:240925fe8ea52bbcb89e5be181c9962edf989d50c89b5caa3aa6313792ed85f3 - 0.0% (1.27 KB)
[#005] sha256:3090ab8ff77be92d486f4c6349f4734d05c5fb35db552fddf6174cd395903d0d - 3.79% (55.9 MB)
[#006] sha256:ab163e11bec47fdabe60798f58168275e93f8fac8c86ff39a1f9bac32446c266 - 0.0% (1.3 KB)
Apply image 10.0.20348.4294
2025-10-14 20:41:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-10-14 20:51:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-10-14 20:52:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.13.8
2025-10-14 20:52:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14
2025-10-14 20:53:05 UTCpowershell -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-10-14 20:53:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]