Tag

python:3.12.5-windowsservercore-ltsc2022
Content Digest: sha256:1cd8d50c7024ac5e9b98a848bff49953fe6173e66922f084d29d5c6da2761d83
Manifests
Details
Content Digest

sha256:e95a24aef50dfaa67800f634d5d13bb2d275acf55ab086ecdabf4f1404786d02

Created

2024-09-04 14:00:15 CST

Size

2.05 GB


Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

24.2

PYTHON_VERSION

3.12.5


Layers

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

[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 34.24% (718 MB)

[#002] sha256:5c173b0e7ca4bbcb6177cfb6ae6bae581604d755da4fff4b2d3b3fba2db2035b - 0.0% (1.26 KB)

[#003] sha256:57819113c6d7ae704db99e9685549e3fa700f4faebe08ae1bd1a924d2d491e1f - 0.0% (1.23 KB)

[#004] sha256:7e67a9e196d806b41b69f67568accf43b7b05f1277300514fed66694f6dba8d3 - 0.0% (1.25 KB)

[#005] sha256:2dae2d76a57c3b4b5ff64c2ee6712577dc7b38568b51be3b22324def84ad4555 - 2.17% (45.5 MB)

[#006] sha256:725a05cc1dcf8677662ad62720cefb7b792083d7f9f3559299816b039cdded25 - 0.0% (1.25 KB)

[#007] sha256:f5bbbde45e76d682e9c3ac04b3c6a7b3beadc001ae784efd05410e156f756b69 - 0.0% (1.3 KB)

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

[#009] sha256:dc85f0d0176ab2145d0627bf31d598ba4074535321a185d7a685066bc1d1f43b - 0.45% (9.5 MB)

[#010] sha256:e95aea033de413377a2d7effa6ec60693a10c5f564fec74d73c1963cb3d898c5 - 0.0% (1.25 KB)


History
2023-06-08 20:55:20 CST

Apply image 10.0.20348.1787

2024-08-11 03:49:59 CST

Install update 10.0.20348.2655

2024-09-04 13:58:04 CST

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

2024-09-04 13:58:05 CST

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

2024-09-04 13:58:05 CST

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

2024-09-04 13:59:57 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.'

2024-09-04 13:59:57 CST

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

2024-09-04 13:59:58 CST

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

2024-09-04 13:59:59 CST

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

2024-09-04 14:00:14 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) --no-setuptools --no-wheel ; Remove-Item get-pip.py -Force; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2024-09-04 14:00:15 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.