Namespace
library
Image / Tag
python:3.9.12-windowsservercore-1809
Content Digest
sha256:11e8bb6943438406f5f478dd7ca80addb0bad5c7a615e4a1d007b3e438991934
Details
Created

2022-05-10 18:00:17 UTC

Size

2.38 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.12


Layers

[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 73.35% (1.75 GB)

[#001] sha256:8b534d64a7c337eb8a23b425e4f598cd3e7407ddf8c7b2f714d1e7f7ed6a04be - 24.49% (598 MB)

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

[#003] sha256:c5a6a55a6348099a5a40b34d2ce942923f98a1d0c86819360798099a36eacd35 - 0.0% (1.38 KB)

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

[#005] sha256:c774fdbd1e2115e96c646cb5571898a75008db6ad703c381f00397e00719c52c - 2.02% (49.3 MB)

[#006] sha256:2a18a46bd0aa8c1e70cdf99a173dbb6966f578b444905acca0c26c636ae26d32 - 0.0% (1.4 KB)

[#007] sha256:325ec4e6fc6c2ce74940bc643a250e8700fb78f374a409ad53be5ccb158f787b - 0.0% (1.36 KB)

[#008] sha256:900968306856eb5c15aa574a5a293201c59e1d36d2bcf3c3bb8d2e9ad1deec35 - 0.0% (1.38 KB)

[#009] sha256:af14bd1c6df6fea64886688c7a867925db313f1b590428e4bcb9161210d86a0c - 0.0% (1.38 KB)

[#010] sha256:706a2a101a5e7aaba4b8e8290750f0ce5641ef972350f0a13c9048fd42c7fda4 - 0.14% (3.33 MB)

[#011] sha256:7b62085bc0547c6dfc8543ec4633b90e5920208b778a37286913ca756794aa4b - 0.0% (1.36 KB)


History
2022-04-22 01:27:13 UTC

Apply image 10.0.17763.2803

2022-05-05 17:03:24 UTC

Install update 10.0.17763.2928

2022-05-10 17:40:47 UTC

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

2022-05-10 17:40:48 UTC

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

2022-05-10 17:56:58 UTC

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

2022-05-10 17:58: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.'

2022-05-10 17:58:55 UTC

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

2022-05-10 17:58:56 UTC

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

2022-05-10 17:58:57 UTC

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

2022-05-10 17:58:58 UTC

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

2022-05-10 18:00:15 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-05-10 18:00:17 UTC

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