Namespace
library
Image / Tag
python:3.12.2-windowsservercore-1809
Content Digest
sha256:bc025fe67dcd5aa53c8608d972a6e32937065739d4ab8ea175fed498f096ef2d
Details
Created

2024-03-13 04:10:28 UTC

Size

2.03 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.2


Layers

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

[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 21.73% (452 MB)

[#002] sha256:0958f7c360fd7d6281bb6b494ebac22f9165235afc440fb43948425a566792f6 - 0.0% (1.41 KB)

[#003] sha256:c5c970fc9606722fa62f7055c4c10fb239746d696ae06e4cb4d2f97c0935b896 - 0.0% (1.36 KB)

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

[#005] sha256:922b166fe1c299aa1b3232b5f1fc47864d15836c79ee72d7b5903bd989cd87c6 - 2.23% (46.5 MB)

[#006] sha256:313be716bc439ced8aba71045772699a84d4852df0d1e62f1edfcd8e6f5871ac - 0.0% (1.4 KB)

[#007] sha256:b06b78ecd206955ca62875c41365d56a2f2d7ff9b445b2b372bc9c1f98929a32 - 0.0% (1.38 KB)

[#008] sha256:0e059c9a6fea8bc4ce91c66d328401f603cb03571a9d0dcf29b004a7c86e7b03 - 0.0% (1.39 KB)

[#009] sha256:1ecba753d7c63a4ddef365c3b29fa126e7d4974a4a57652e9ddee1cc56480310 - 0.44% (9.25 MB)

[#010] sha256:7736c09f600efe9253ad0c873a95f5cfae61327c0a18a568d4eeb95231e6072a - 0.0% (1.38 KB)


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

Apply image 10.0.17763.4499

2024-03-04 01:18:21 UTC

Install update 10.0.17763.5576

2024-03-13 00:38:09 UTC

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

2024-03-13 03:59:01 UTC

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

2024-03-13 04:06:18 UTC

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

2024-03-13 04:08:33 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-03-13 04:08:34 UTC

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

2024-03-13 04:08:35 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-03-13 04:08:36 UTC

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

2024-03-13 04:10:27 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-03-13 04:10:28 UTC

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