sha256:23e88b758a0166437c91da8f28814e26c1e989e18c75ea8956d09d41f8d4af08
2017-01-20 21:52:16 UTC
4.69 GB
9.0.1
PYTHON_RELEASE3.6.0
PYTHON_VERSION3.6.0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 80.76% (3.79 GB)
[#001] sha256:3430754e4d171ead00cf6766797a28abf3caf236f6c92c5c346ea2ad3955a129 - 18.12% (871 MB)
[#002] sha256:e9d9d048a108290b40b03a1a415360fe78a4038bfb48be71f6a1e05e92092624 - 0.0% (1.19 KB)
[#003] sha256:f67b557e129b5d189aba4d08e930bc95eb8ca36581646a8ea59c0c9728f1654c - 0.0% (1.18 KB)
[#004] sha256:c27e2637f9292eef91855f7b6b619b662d9dcdc80304095f06b611435a2c5daf - 0.0% (1.2 KB)
[#005] sha256:ed3192a65c30b61cd43417572ee8cb819435086dbf647000d8423912ceddb842 - 0.0% (1.2 KB)
[#006] sha256:c1c824b35abd42b95f9b874464e2bf902cc2e29481abc341b9f7e0cefbc12d3d - 1.12% (53.9 MB)
[#007] sha256:be96214fda89ab55174821f97910c6cf540413781e7baddcf7681f98360a316b - 0.0% (1.18 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-01-20 21:46:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_VERSION=3.6.0
2017-01-20 21:46:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_RELEASE=3.6.0
2017-01-20 21:46:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_PIP_VERSION=9.0.1
2017-01-20 21:52:01 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.';
2017-01-20 21:52:16 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.