sha256:907f8373eaf6452de3426e18750c3f5568edbd4efd301dac54ea78f4fc215d54
2024-09-13 05:09:33 CST
1.42 GB
UTF-8
PYTHON_VERSION3.13.0rc2
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 96.12% (1.36 GB)
[#001] sha256:c4fb02669e1c7a7c5c299e3860b307a51f514d4607cccb978a00ed5a89f9f8f0 - 0.0% (1.25 KB)
[#002] sha256:e76f2596d1965bedcc8f6f1cec27181875a54b0cd1ecbc515a8452e204c78727 - 0.0% (1.26 KB)
[#003] sha256:7df128227eb9d381fd2041cd713db2074be7cde2f15426b5aea816418c4a446e - 0.0% (1.26 KB)
[#004] sha256:1868a18ba69e19b7aac03f63288067a759a29ec4a363b4dff734300d94f33242 - 3.88% (56.3 MB)
[#005] sha256:5bbc747e898cfb45be2a972b2ea5d8c227822126bef3d2224a47fb4a77ce26a3 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2024-09-13 05:08:21 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-09-13 05:08:21 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2024-09-13 05:08:22 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.13.0rc2
2024-09-13 05:09:33 CSTpowershell -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 '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.'
2024-09-13 05:09:33 CSTpowershell -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.