Namespace
library
Image / Tag
python:3.12.7-windowsservercore-1809
Content Digest
sha256:85378f484560d1dabf7959d1ce51ffdbf46efc0e494083bd35de177a8a39a925
Details
Created

2024-11-14 20:21:06 UTC

Size

1.93 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_SHA256

1206721601a62c925d4e4a0dcfc371e88f2ddbe8c0c07962ebb2be9b5bde4570

PYTHON_VERSION

3.12.7


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 83.14% (1.6 GB)

[#001] sha256:fbe2e64e5397827206bfd4f203139650e099ad31c5fa0d7121c12acdbbd16650 - 14.03% (277 MB)

[#002] sha256:10f57c6b8857127fb0a81aa3d37e3349d112d9a6a517734fcb303a2b82b7828e - 0.0% (1.26 KB)

[#003] sha256:c7ade2f63adeafa487862b5dd740a7b0ab78cd68d8597c4b475dd10756f9f890 - 0.0% (1.27 KB)

[#004] sha256:8edea0c4bcc8da59dfa3f1ca5a3dce6538509dd728771a10525caaa6d1e656e0 - 0.0% (1.27 KB)

[#005] sha256:983073e5013af0f2ee351d083006453d2c93f7774c701a8e4fa7b665571b1573 - 0.0% (1.26 KB)

[#006] sha256:da66ea5021b948223efe2a1d076ce7d8b71d47924d8e45d2886c81f0585486ad - 2.82% (55.7 MB)

[#007] sha256:5becb9724dbbe3dd12e0efbb51b2f7ec74880ad32531395585db6c03cec53622 - 0.0% (1.27 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2024-11-01 11:38:40 UTC

Install update 10.0.17763.6532

2024-11-14 20:19:20 UTC

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

2024-11-14 20:19:22 UTC

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

2024-11-14 20:19:23 UTC

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

2024-11-14 20:19:23 UTC

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

2024-11-14 20:21:05 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 ('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-14 20:21:06 UTC

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