2023-09-13 08:23:56 UTC
1.93 GB
UTF-8
PYTHON_GET_PIP_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.0rc2
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 79.57% (1.54 GB)
[#001] sha256:179757339e051b99f9a62375fed8f87ffcc4df0eeedb984d20b485bdd089ad08 - 17.63% (349 MB)
[#002] sha256:cdc14cbf6230cebb55cabf885ef8606e63f571dd05f37d899d95bca34972a44a - 0.0% (1.39 KB)
[#003] sha256:c62f01ec64a5d7884d047078f22f53b00bf850111a0d1e1829f3778b4f7a1384 - 0.0% (1.26 KB)
[#004] sha256:cda62535cca24ac46e9b7de5de5d433a29b4d00277ac604e4b9fca239e35a48a - 0.0% (1.38 KB)
[#005] sha256:d5c0af6b5217b0896f4b6305c84e88c6100d188ded10437d861e84c3ac1d1afa - 2.34% (46.2 MB)
[#006] sha256:f720115ae35b9aa64f2e1d5dc073217864b7c39f98646b297d9d60606d6aeb38 - 0.0% (1.26 KB)
[#007] sha256:fc30d62bd54ca9fbfad4e9cce332721a3735ee53f7d3dc3854678822023d8f2d - 0.0% (1.29 KB)
[#008] sha256:0a37ea5d513971dda37ef54e0a944f8de866430a005b277d6f522ca39db60a2b - 0.0% (1.29 KB)
[#009] sha256:a95376e56c8a97d1d75c55110b667f9f7275dc97e03dfec8b5e0707eeefd9597 - 0.47% (9.22 MB)
[#010] sha256:7f96b954dfa33b6bb0b0aadff51359ff2ababcd37d9ca84553d26c5ef1b59397 - 0.0% (1.3 KB)
Apply image 10.0.17763.4499
2023-08-29 17:09:18 UTCInstall update 10.0.17763.4851
2023-09-13 01:39:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2023-09-13 08:07:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2023-09-13 08:20:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.12.0rc2
2023-09-13 08:22:23 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 '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=0', '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; Write-Host 'Complete.'
2023-09-13 08:22:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_PIP_VERSION=23.2.1
2023-09-13 08:22:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
2023-09-13 08:22:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
2023-09-13 08:23:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:PYTHON_GET_PIP_URL -OutFile 'get-pip.py'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_GET_PIP_SHA256); if ((Get-FileHash 'get-pip.py' -Algorithm sha256).Hash -ne $env:PYTHON_GET_PIP_SHA256) { Write-Host 'FAILED!'; exit 1; }; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile ('pip=={0}' -f $env:PYTHON_PIP_VERSION) ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'
2023-09-13 08:23:56 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.