sha256:0a87f5efb36ed7eee6fa178ad81e39ed3250d8b44824250180fd2b4c9d7d0f1b
2017-01-21 05:46:33 CST
4.69 GB
9.0.1
PYTHON_RELEASE3.5.2
PYTHON_VERSION3.5.2
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 80.8% (3.79 GB)
[#001] sha256:3430754e4d171ead00cf6766797a28abf3caf236f6c92c5c346ea2ad3955a129 - 18.13% (871 MB)
[#002] sha256:e9d9d048a108290b40b03a1a415360fe78a4038bfb48be71f6a1e05e92092624 - 0.0% (1.19 KB)
[#003] sha256:484e7ad873f0d12dd00bc62a4abcf9154d4aa3d8718396702daebf60f331da57 - 0.0% (1.2 KB)
[#004] sha256:51955ad379095000751ee111f93105ddae5f941e05eecc11fa252d6c14b12970 - 0.0% (1.2 KB)
[#005] sha256:d2d7675ab009d711b088e4c817688b4e50e540bfc18a2c4c7423a64d74ddc8e8 - 0.0% (1.19 KB)
[#006] sha256:0c5435e8e989582f01757e187c4ac7ce1705700ba35f792e2d1fd1f44c817a2d - 1.07% (51.6 MB)
[#007] sha256:935c407bc72cc82b8f7aaccfd5022f25103ff387359a56535e865b3c1b92b758 - 0.0% (1.2 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-01-21 05:41:20 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_VERSION=3.5.2
2017-01-21 05:41:31 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_RELEASE=3.5.2
2017-01-21 05:41:34 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_PIP_VERSION=9.0.1
2017-01-21 05:46:28 CSTpowershell -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.';
2017-01-21 05:46:33 CSTpowershell -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.