2025-12-09 20:48:03 UTC
1.71 GB
UTF-8
PYTHON_SHA25630d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101
PYTHON_VERSION3.13.11
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 80.98% (1.39 GB)
[#001] sha256:1fc19ec18c41e4c8edf1a76eecae2be22e29445f11ee586523f59e36de40aebb - 15.82% (277 MB)
[#002] sha256:4337b0b452250939272a24a7d25392c5f6351fbf9da067a0d397cefbb4266c7a - 0.0% (1.29 KB)
[#003] sha256:4cb76f9c857371dc211aa10e19e3a121d4b7dd689c73c15474d0cba3583190ba - 0.0% (1.3 KB)
[#004] sha256:8071bd409c058180095ca911cbeb4e4ed8953ca01d34e4a8290842fea5d3f534 - 0.0% (1.29 KB)
[#005] sha256:360f0317d9b088931eec903d8c0ffbef6697e7e8c7ac42476d9d09e08615066d - 0.0% (1.26 KB)
[#006] sha256:2f5bca479208072e16107bce161077d9c38fa7d81cc8375b849727cc2230b21e - 3.2% (56.1 MB)
[#007] sha256:6c1c897dde87d3e623259dc384a2a8b89f3869b15c8103d1e75378aaec552113 - 0.0% (1.26 KB)
Apply image 10.0.20348.4294
2025-12-05 18:19:35 UTCInstall update 10.0.20348.4529
2025-12-09 20:32:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-12-09 20:46:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-12-09 20:47:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.13.11
2025-12-09 20:47:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101
2025-12-09 20:48:03 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-12-09 20:48:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.