Namespace
library
Image / Tag
python:3.12.3-windowsservercore-1809
Content Digest
sha256:80a1225d514413f4d69a9d32df97ed74d168841e0338427b5ea008d479008085
Details
Created

2024-05-15 22:57:42 UTC

Size

2.08 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

PYTHON_PIP_VERSION

24.0

PYTHON_VERSION

3.12.3


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 73.75% (1.54 GB)

[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 23.64% (505 MB)

[#002] sha256:716a2aa6d68dd7a7e7745c65cd54a1e2713d737d3f4fdd07e5e1c2fce38b5d24 - 0.0% (1.38 KB)

[#003] sha256:473733cedcfb3913e217a092138e80e13efc814222894dc6d8d80771bc989b8f - 0.0% (1.4 KB)

[#004] sha256:a7de6bdeca02dfb9d597193777ea7a6b1096d19ed37d17c81f16c1c2c1045d03 - 0.0% (1.4 KB)

[#005] sha256:888f8b7627f81c3c0605d010382eeccd8ef52e71ece912e59578566ba34857fa - 2.17% (46.4 MB)

[#006] sha256:208b058a21ccd96dc53c074b101bbbf83babebe6cccb065cd1bdcde599aba78a - 0.0% (1.39 KB)

[#007] sha256:190e80b6e9555dee62eda0f8b5866f417d499283bf708bace7313db6861ae2a2 - 0.0% (1.4 KB)

[#008] sha256:8b14f109558eec60ea3461b67eb811ae4fadb23c980294e0b8921513aadbe733 - 0.0% (1.34 KB)

[#009] sha256:53da1106cfc692b39b0cf60da89715cb54c016255dffe048f9ab3035a4e4e27c - 0.43% (9.25 MB)

[#010] sha256:4522efed9c2144ee83fb79e217cc16f3ed33f0812b3688c73f0889da0fe97ba4 - 0.0% (1.37 KB)


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-05-10 20:46:44 UTC

Install update 10.0.17763.5820

2024-05-15 19:38:26 UTC

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

2024-05-15 22:46:30 UTC

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

2024-05-15 22:53:28 UTC

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

2024-05-15 22:55:51 UTC

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 '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=0', '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; Write-Host 'Complete.'

2024-05-15 22:55:52 UTC

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

2024-05-15 22:55:53 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

2024-05-15 22:55:54 UTC

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

2024-05-15 22:57:41 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:PYTHON_GET_PIP_URL -OutFile 'get-pip.py'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_GET_PIP_SHA256); if ((Get-FileHash 'get-pip.py' -Algorithm sha256).Hash -ne $env:PYTHON_GET_PIP_SHA256) { Write-Host 'FAILED!'; exit 1; }; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile ('pip=={0}' -f $env:PYTHON_PIP_VERSION) ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2024-05-15 22:57:42 UTC

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