Tag

python:3.12.7-windowsservercore-ltsc2022
Content Digest: sha256:f8b0d402e777c72b06ef11233246e20ff9db94b3d33bbeb53e0d120e38101477
Manifests
Details
Content Digest

sha256:fa835d0bec117482ddf479577d3716f27f80900ca8671b14030e586ba4d27ae1

Created

2024-11-15 04:11:39 CST

Size

2.15 GB


Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

1206721601a62c925d4e4a0dcfc371e88f2ddbe8c0c07962ebb2be9b5bde4570

PYTHON_VERSION

3.12.7


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 63.24% (1.36 GB)

[#001] sha256:5987a3191d90ca1e07fd03dae1963abcaa49ceabc649ec3bc43f2c96b55d0464 - 34.18% (754 MB)

[#002] sha256:01341484308679987686e83b0177ef97a99af7ae1c6a0fbf117da300d18cdc57 - 0.0% (1.26 KB)

[#003] sha256:930337e79cb9ae0089d3cfabb7f3f75d1e3a04b66cd1c33ba5979ce3d6337e29 - 0.0% (1.25 KB)

[#004] sha256:6f148e37c65be2bf9d13abcadeb5c6a447ba2ee0ceca3bfd90eba660680f147a - 0.0% (1.25 KB)

[#005] sha256:93246d1429b8f5178d49b7d2cf3830d1588c98cd03b2e54ea54df80b5e658e36 - 0.0% (1.25 KB)

[#006] sha256:5c0591e7de6fc955e8e7443ce9e4151ca57491e4593779c1d64220762334af29 - 2.58% (56.8 MB)

[#007] sha256:96b440abedd852266c3f019149c3bc587a3192b038815ab9097be80be2004bfe - 0.0% (1.25 KB)


History
2024-09-06 08:01:38 CST

Apply image 10.0.20348.2700

2024-11-03 07:52:43 CST

Install update 10.0.20348.2849

2024-11-15 04:11:00 CST

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

2024-11-15 04:11:00 CST

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

2024-11-15 04:11:01 CST

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

2024-11-15 04:11:02 CST

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=1206721601a62c925d4e4a0dcfc371e88f2ddbe8c0c07962ebb2be9b5bde4570

2024-11-15 04:11:38 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 ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; 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=1', '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; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'

2024-11-15 04:11:39 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.