sha256:e979c0a49c6ca761c1e8d61f8f41c6ab3963389c93efaef6d22e1d4913f7c528
2017-09-15 00:27:20 CST
5.02 GB
9.0.1
PYTHON_RELEASE3.6.2
PYTHON_VERSION3.6.2
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 75.48% (3.79 GB)
[#001] sha256:da87b55a9b6358a65462540faeaa97505b0a12e1a2c14f08893589181d32d00d - 23.48% (1.18 GB)
[#002] sha256:d9a80234ea5aa1b3fdb0960fc47b11cc20b357170851b348ddd413a7be726094 - 0.0% (1.2 KB)
[#003] sha256:551dfe8e3c6fc1dc5662f31e80304dbf76b0670114ec4ebc9351cf734632a57e - 0.0% (1.19 KB)
[#004] sha256:8928238f3389b1be0a25dba6e01c042720f79ed68c28fb531c8fd98f5d4928f5 - 0.0% (1.19 KB)
[#005] sha256:3749b7c2ee2e969afc4c3621987883eb41fa86646d9dca1550ca7c9c3aef3484 - 0.87% (44.7 MB)
[#006] sha256:fa144886a8def4c1bf4b76eb0d4207517a38709ecf5446dddd58af9498446500 - 0.0% (1.19 KB)
[#007] sha256:3d1b3e9fa5a23aadef827127a72eb0b0bf41edbe75ce6177e3297ebd0274c0c3 - 0.17% (8.84 MB)
[#008] sha256:8723ed185e103d96b711980effd6b0114090701cdc60be548f1bd2158b92c046 - 0.0% (1.19 KB)
Apply image 10.0.14393.0
2017-09-13 06:02:46 CSTInstall update 10.0.14393.1715
2017-09-15 00:25:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-09-15 00:25:12 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_VERSION=3.6.2
2017-09-15 00:25:15 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_RELEASE=3.6.2
2017-09-15 00:26:27 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_pip=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; Write-Host 'Complete.';
2017-09-15 00:26:31 CSTpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV PYTHON_PIP_VERSION=9.0.1
2017-09-15 00:27:18 CSTpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); (New-Object System.Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'get-pip.py'); python get-pip.py --disable-pip-version-check --no-cache-dir ('pip=={0}' -f $env:PYTHON_PIP_VERSION) ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.';
2017-09-15 00:27:20 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.