Namespace
library
Image / Tag
python:rc-windowsservercore-ltsc2022
Content Digest
sha256:4c5a7f35f2e81c01eb6d2b9eeef72a2387999bf6d362416c84852f5034691209
Details
Created

2021-09-15 15:49:08 UTC

Size

2.03 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

21.2.4

PYTHON_RELEASE

3.10.0

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.10.0rc2


Layers

[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 57.45% (1.17 GB)

[#001] sha256:48a76b150a3a1ee8efbc87797c38de66d24a71421fce2754695fed8227d4cc3f - 40.07% (833 MB)

[#002] sha256:3fda9a0667b0cb96fa50df6568908c70087df9372ac60c91c1ba417787ee1faf - 0.0% (1.38 KB)

[#003] sha256:685f56e5eee365ea3a0bc40ec5dc3de8b9c04404687def4956ba0039ea76bd2a - 0.0% (1.25 KB)

[#004] sha256:d4f3a829b7c4c10105ae80e14308e9ff490d1d240acd72ee997e0459e3cec991 - 0.0% (1.29 KB)

[#005] sha256:930f72732e0a1f8305b59ad9bb132a3a51d2e1c380bb8da7cea8d05200676d8b - 0.0% (1.28 KB)

[#006] sha256:c3c81927387790699b0637aba1197237855c19cb67ac4adcf76dc38923ae1479 - 2.17% (45.1 MB)

[#007] sha256:fcd80e831f51f65166b6acdc8a75fe3e047892849710b0e3524f331f234546d9 - 0.0% (1.24 KB)

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

[#009] sha256:a063cbaded44caa5594e679dc846f87b81b334c2bb47cb5e9c5058bfba9afc8e - 0.0% (1.29 KB)

[#010] sha256:81ec828eb2078b568a90ca0e1fe5ceaf40541365e2619c9f8b8ef0780d6f6d26 - 0.0% (1.26 KB)

[#011] sha256:d88770ec1d8d6bc27a60212fec24e4a89e73da7c66b3290c2c6bc6a277512fbc - 0.31% (6.38 MB)

[#012] sha256:72f5ab0704ae0c49a8a849a7dabbcb209f571485ed43f5d643b8ed15cec0bc25 - 0.0% (1.26 KB)


History
2021-05-08 09:40:24 UTC

Apply image 2022-RTM-amd64

2021-09-13 07:01:40 UTC

Install update ltsc2022-amd64

2021-09-15 12:20:52 UTC

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

2021-09-15 15:47:15 UTC

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

2021-09-15 15:47:16 UTC

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

2021-09-15 15:47:17 UTC

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

2021-09-15 15:48:23 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $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.'

2021-09-15 15:48:24 UTC

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

2021-09-15 15:48:25 UTC

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

2021-09-15 15:48:26 UTC

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

2021-09-15 15:48:28 UTC

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

2021-09-15 15:49:07 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; }; Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); python get-pip.py --disable-pip-version-check --no-cache-dir ('pip=={0}' -f $env:PYTHON_PIP_VERSION) ('setuptools=={0}' -f $env:PYTHON_SETUPTOOLS_VERSION) ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2021-09-15 15:49:08 UTC

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