Namespace
library
Image / Tag
python:3.10.6-windowsservercore-ltsc2022
Content Digest
sha256:f2d325cdc5ca6199923f2b8360ca6fad93430bce12f3e1a8a615d2355633a482
Details
Created

2022-08-12 00:31:58 UTC

Size

2.21 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.2.1

PYTHON_SETUPTOOLS_VERSION

63.2.0

PYTHON_VERSION

3.10.6


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 60.62% (1.34 GB)

[#001] sha256:97b25a378238b615dc51216c4d87ce17fd3cc3dca9db458e8705d1a4c17e3bb7 - 37.13% (839 MB)

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

[#003] sha256:8259ecb0e5034b8fa5de016424036c94452d1ef91533fce60f0ac1e95aa4e543 - 0.0% (1.4 KB)

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

[#005] sha256:59ccdf04430f2c9ba909e3ecc8a520ae02e9d36fb78de306993068ce59dd6b4c - 2.09% (47.3 MB)

[#006] sha256:a93185a5fc9a930e59aaf22153314017bf82bb0a51e77c2b590a5592969b48f1 - 0.0% (1.34 KB)

[#007] sha256:998b0703e53d54c77a5305ff44350e53c43c6bd9d99605bd32bd1b4cc4de54cd - 0.0% (1.36 KB)

[#008] sha256:37df7be63976b68156936ad98fd46c1a74aa1b4a813b653b40c91b9aa5dcab85 - 0.0% (1.38 KB)

[#009] sha256:133f165f3900a58d58ebb00bd951f79c1261660e0959d237b4a8d3633e9f1a1d - 0.0% (1.37 KB)

[#010] sha256:eb39ce55617a54ca0bffb3a5c8d2f4b82da40a8386708f7f475e6601c9672aa1 - 0.17% (3.74 MB)

[#011] sha256:85c22819d30b9e5cb74956a42d1f05c2bd3a08c6dc8ddaeb7d644d437ffd971a - 0.0% (1.37 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-08-06 02:59:35 UTC

Install update 10.0.20348.887

2022-08-10 12:11:45 UTC

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

2022-08-10 12:33:23 UTC

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

2022-08-10 15:37:43 UTC

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

2022-08-10 15:38:54 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.'

2022-08-10 15:38:55 UTC

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

2022-08-10 15:38:56 UTC

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

2022-08-12 00:30:57 UTC

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

2022-08-12 00:30:58 UTC

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

2022-08-12 00:31:56 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) ('setuptools=={0}' -f $env:PYTHON_SETUPTOOLS_VERSION) ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2022-08-12 00:31:58 UTC

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