2025-04-18 03:23:45 UTC
2.07 GB
UTF-8
PYTHON_SHA25667b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb
PYTHON_VERSION3.12.10
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 77.34% (1.6 GB)
[#001] sha256:632102e3f287de7b6ffd6cab740fb7afe94ac8418060651b0954506aeecc48f1 - 20.02% (425 MB)
[#002] sha256:9f6ff9181d632c47944ca7935f9cf33832f5ddcea3873d129c0f869c2b2b43aa - 0.0% (1.26 KB)
[#003] sha256:af4cb4e3a92ba8bf8ef30238b46d5ca098c71e403f73d72049217da6adea82ae - 0.0% (1.26 KB)
[#004] sha256:d327a775541e389b4b0ef0c43e189ef1ddc1d8161f5f9d528a4fd3ae59e9065a - 0.0% (1.26 KB)
[#005] sha256:53526167d36380a72b5a26fa68586ba5fc49cd3b12903b1aa33b56fd7daf7c37 - 0.0% (1.26 KB)
[#006] sha256:66fc097233ad6d2553185bddf91b29e160383dab647b541d1c46c3513eef3854 - 2.64% (56 MB)
[#007] sha256:7ace2b12d9767e6bb17845e9f1486373b2cde8fb26ea582df150b75a9bbd8ea7 - 0.0% (1.24 KB)
Apply image 10.0.17763.6293
2025-04-15 01:47:49 UTCInstall update 10.0.17763.7249
2025-04-18 03:22:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-04-18 03:22:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-04-18 03:22:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.12.10
2025-04-18 03:22:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=67b5635e80ea51072b87941312d00ec8927c4db9ba18938f7ad2d27b328b95fb
2025-04-18 03:23:45 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-04-18 03:23:45 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.