2025-11-19 18:40:58 UTC
3.07 GB
UTF-8
PYTHON_SHA25621bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e
PYTHON_VERSION3.15.0a2
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 67.19% (2.06 GB)
[#001] sha256:a84ef3b04f81727036fe8b401efc70b6979844e2b78bdf09aa1b68b7ef4edf63 - 30.94% (973 MB)
[#002] sha256:a81fa19a2e021a32301f76cdb40a02dd55152a66dbfdd22ea984c9ce3521f98b - 0.0% (1.28 KB)
[#003] sha256:2c40e3c1aa23a38958721bf28f31f45687369e52e382569bba254a4f9041d165 - 0.0% (1.29 KB)
[#004] sha256:6c8311a0e37abb1931fbac14272bd3b69536076ec2d06be1ab74f4a24b00401d - 0.0% (1.26 KB)
[#005] sha256:1aa6125ce233733a7bf7e745b3c78e1c5ed7adbf5896eece97887c082f3e3657 - 0.0% (1.29 KB)
[#006] sha256:a311adeae2bac7ce723789d782916006f774bc2272e36dca7349e6bca242748b - 1.87% (58.9 MB)
[#007] sha256:0f7b43c9438a8b69bc05171fc2002578f8437501c9b183c0777189e78561c594 - 0.0% (1.27 KB)
Apply image 10.0.26100.2605
2025-11-09 10:25:55 UTCInstall update 10.0.26100.7171
2025-11-19 18:38:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-11-19 18:38:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-11-19 18:38:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.15.0a2
2025-11-19 18:38:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e
2025-11-19 18:40:57 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-11-19 18:40:58 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.