Namespace
library
Image / Tag
python:3.13.0a1-windowsservercore-ltsc2022
Content Digest
sha256:0d2ccae334339e80a8dffb546a12c0942bb17d50d335d2373d5cbad515b37715
Details
Created

2023-11-16 08:10:52 UTC

Size

1.81 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.2.1

PYTHON_VERSION

3.13.0a1


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 71.35% (1.29 GB)

[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 25.6% (475 MB)

[#002] sha256:4fbeb193d02c2ca7f9a9ea438fbf1bcdb6ea4a6fea626713330fd1ebb514424f - 0.0% (1.39 KB)

[#003] sha256:a6a04902dc00547eefe544b2264d2ad6181fe498eece2ed80fff9ea18c8380bb - 0.0% (1.39 KB)

[#004] sha256:dd8e66efb4f71f479d8cc55ddb94ab39b1a5cceace70f225decc1a3dc00f9b4e - 0.0% (1.38 KB)

[#005] sha256:9a3698d8ef052da613184cdd0113f4e54e0fabf70cfd59b1c42eed79c4067076 - 2.47% (45.9 MB)

[#006] sha256:7f499049ac150d685e3f67428215fc69aa60bc3a61667f748a3a8e079b363ba6 - 0.0% (1.25 KB)

[#007] sha256:c03ccca13cff89073fa49ddd02496f752ce89aabbf0552e8ef3195a88a7289f4 - 0.0% (1.28 KB)

[#008] sha256:7bb9aa861e7316b063fe8513608f82da73388a613d03c825d512257661d07e56 - 0.0% (1.25 KB)

[#009] sha256:051cdced272541c5804ea4ef7a2e18b7ff816afcf879b94a84f8590cb57517f5 - 0.58% (10.9 MB)

[#010] sha256:8c233c9ed5f83dd8a8aab8d8ef3293a1803627cf23a56917bc4378b0fdafc65a - 0.0% (1.26 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2023-11-09 06:47:20 UTC

Install update 10.0.20348.2113

2023-11-16 01:36:15 UTC

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

2023-11-16 07:58:50 UTC

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

2023-11-16 08:08:47 UTC

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

2023-11-16 08:10:01 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.'

2023-11-16 08:10:02 UTC

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

2023-11-16 08:10:03 UTC

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

2023-11-16 08:10:04 UTC

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

2023-11-16 08:10:51 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.'

2023-11-16 08:10:52 UTC

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