sha256:32e44c2ecba489af3626f9c53c035d4018d5bb616f3fff726e364bca4933b65c
OS/ARCH
Compressed size
2.13 GB
Last pushed
1 day by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:ca52567ca40fa4cc14f2e6b208036cf675c3c4d0613de85cc136fc9ecc039a76
0
Apply image 10.0.20348.4294
1.49 GB
1
Install update 10.0.20348.5873
757.07 MB
2
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
1.31 KB
3
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); Write-Host 'Complete.'
345.57 KB
4
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.16.0a2
1.3 KB
5
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=e604493562d97593a3456cc4c7e8483448176bf0d4e49d7d74d388dd433f28c7
1.32 KB
6
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a2-amd64.zip'; Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'python.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.zip -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive python.zip -DestinationPath C:\Python\; Write-Host 'Removing ...'; Remove-Item python.zip -Force; Write-Host 'Verifying install ("python --version") ...'; python --version; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Re-Installing pip ...'; Remove-Item -Recurse C:\Python\Lib\site-packages\pip; Remove-Item -Recurse C:\Python\Lib\site-packages\pip-*; python -m ensurepip --default-pip; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'
44.52 MB
7
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]
1.32 KB