2016-11-15 00:50:43 UTC
4.35 GB
8.1.2
PYTHON_RELEASE3.6.0
PYTHON_VERSION3.6.0b2
[#000] sha256:9c7f9c7d9bc2915388ecc5d08e89a7583658285469d7325281f95d8ee279cc60 - 80.0% (3.48 GB)
[#001] sha256:d33fff6043a134da85e10360f9932543f1dfc0c3a22e1edd062aa9b088a86c5b - 18.81% (838 MB)
[#002] sha256:f24cd6bb1240a6a8641fa44a4bbea3e59d3729b9e1513ca48370c4576b6fddea - 0.0% (1.19 KB)
[#003] sha256:d9c20d2ffff396bfab5839c3cfceecefa20aeb86af568d4058d919f8c256367f - 0.0% (1.19 KB)
[#004] sha256:08d4aca438454b6fde3c6a8c0f48f4a8f535805eb8d40e272b350afa984a5724 - 0.0% (1.18 KB)
[#005] sha256:ab3fa5d4a382c899d6c614023475a7607a9509c44121423ee67b27bd3a7a5a62 - 0.0% (1.19 KB)
[#006] sha256:471ab9ec36eed5025dc1c391474b8f7743a4ddfc73a4fa47518cf67549750eeb - 1.2% (53.3 MB)
[#007] sha256:50f1710c72f4faf57edc979017dfe2ef5bf572c08d681e0367a6f3232d9f5a54 - 0.0% (1.18 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2016-11-15 00:47:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_VERSION=3.6.0b2
2016-11-15 00:47:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_RELEASE=3.6.0
2016-11-15 00:48:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_PIP_VERSION=8.1.2
2016-11-15 00:50:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); Write-Host ('Downloading {0} ...' -f $url); (New-Object System.Net.WebClient).DownloadFile($url, 'python.exe'); Write-Host 'Installing ...'; Start-Process python.exe -Wait -ArgumentList @( '/quiet', 'InstallAllUsers=1', 'TargetDir=C:\Python', 'PrependPath=1', 'Shortcuts=0', 'Include_doc=0', 'Include_test=0' ); $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; $pipInstall = ('pip=={0}' -f $env:PYTHON_PIP_VERSION); Write-Host ('Installing {0} ...' -f $pipInstall); pip install --no-cache-dir --upgrade --force-reinstall $pipInstall; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.';
2016-11-15 00:50:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(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.