Introducing our new CEO Don Johnson - Read More
python logo

python:windowsservercore

Languages & Frameworks
Index digest

sha256:8c296a4dca19de906a5a3bf0b42a7f466e917273544249be6e50c4db8a804909

OS/ARCH

windows/amd64

Compressed size

2.38 GB

Last pushed

about 2 hours by doijanky

Type

Image

Vulnerabilities

0
1
1
0
1

Manifest digest

sha256:e29df7a6deb0968def19a6747a3b22359962c97b45231ef73f925a971ceee6b3

Layers (8)

0

Apply image 10.0.26100.2605

2.22 GB


1

Install update 10.0.26100.2894

284.97 MB


2

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]

1.29 KB


3

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8

1.33 KB


4

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.13.2

1.32 KB


5

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=9aaa1075d0bd3e8abd0623d2d05de692ff00780579e1b232f259028bac19bb51

1.29 KB


6

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'python.exe'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Installing ...'; $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru -ArgumentList @( '/quiet', 'InstallAllUsers=1', 'TargetDir=C:\Python', 'PrependPath=1', 'Shortcuts=0', 'Include_doc=0', 'Include_pip=1', 'Include_test=0' ) ).ExitCode; if ($exitCode -ne 0) { Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; exit $exitCode; } $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; Remove-Item $env:TEMP/Python*.log -Force; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

59.15 MB


7

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]

1.29 KB


This image couldn't be analyzed
It may have an unsupported architecture, or exceed the maximum size