Tag

python:3.9.12-windowsservercore-ltsc2022
Content Digest: sha256:cb330d16f9095bb94f69ff80b6823e8f7a25f4864664c839877980bdb0142adf
Manifests
Details
Content Digest

sha256:9ce124594d59fb0c2110dea540505d632839a2b8bc90b1ab854601cffac1df38

Created

2022-05-11 01:56:45 CST

Size

2.14 GB


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:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 62.66% (1.34 GB)

[#001] sha256:12fb50a031bdc8d2b65d86d694a4ed20e937852ed1bd3c433d8f2f60279cecc7 - 34.92% (764 MB)

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

[#003] sha256:3ab71824861f5d35e3544a5e827c25cabee07e6b90cc238ea411acd8b33ca431 - 0.0% (1.41 KB)

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

[#005] sha256:724cf065a4f1a8121b0ff79df3272510c09a9d4d64a6795dcc7f9a935eea9aa4 - 2.26% (49.4 MB)

[#006] sha256:dc5c27addbe9fe732ce18386dc4aa574fb9110e1d6730763fcc509c2466e9f96 - 0.0% (1.39 KB)

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

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

[#009] sha256:7ee89fe2217eeeb6a168a813c81c7c18995ca07471c207346f96edd492bbfbe2 - 0.0% (1.4 KB)

[#010] sha256:50d3e429af7462c7a03a756438c0b4cbfbf5052a2d2ed2098cd479fee3248c2b - 0.16% (3.55 MB)

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


History
2022-04-22 09:12:09 CST

Apply image 10.0.20348.643

2022-05-05 11:02:27 CST

Install update 10.0.20348.707

2022-05-11 01:36:33 CST

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

2022-05-11 01:36:34 CST

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

2022-05-11 01:54:00 CST

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

2022-05-11 01:55:32 CST

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-11 01:55:33 CST

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

2022-05-11 01:55:34 CST

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

2022-05-11 01:55:35 CST

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-11 01:55:38 CST

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

2022-05-11 01:56:43 CST

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-11 01:56:45 CST

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.