Namespace
library
Image / Tag
python:3.12.0a2-windowsservercore-ltsc2022
Content Digest
sha256:af37c28fe94de611584aa8a24ad511a9729ad9a51ecf4db4ddc8541e9b80b4b1
Details
Created

2022-11-16 00:17:34 UTC

Size

2.37 GB

Content Digest
Environment
PYTHONIOENCODING

UTF-8

PYTHON_GET_PIP_SHA256

1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.3.1

PYTHON_SETUPTOOLS_VERSION

65.5.0

PYTHON_VERSION

3.12.0a2


Layers

[#000] sha256:a4aee932fccc1ec8135f290aca03a7c93dcc2536fc84723813ef9b95f6fd13ea - 57.97% (1.37 GB)

[#001] sha256:e276673195ed11807395b0da51ac20ef31c925ce955c29ad1bab54f14617c25b - 39.63% (961 MB)

[#002] sha256:3becc14271944025e3fa6c2ef2689bdfbf09bfc54ec339115d3082df315898e4 - 0.0% (1.4 KB)

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

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

[#005] sha256:9d8b9df5bed9a3428063ce2c03183c4a441348b78c75454f5f7db0a99d16acfa - 1.93% (46.7 MB)

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

[#007] sha256:e0fd740a1d0137a4328867645a7c6fdd9bcea328269cb0fc42b4dc530f38173f - 0.0% (1.41 KB)

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

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

[#010] sha256:2ee6fd0a2eb854696e84b579e1b7716842b9f93d6892f4b595233a605e55dd8d - 0.47% (11.4 MB)

[#011] sha256:0832690b427fa52996c468b19bfa4863eaa3a97ba2c85bc7933d68a15c0bb722 - 0.0% (1.36 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-11-05 07:49:25 UTC

Install update 10.0.20348.1249

2022-11-08 18:28:39 UTC

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

2022-11-09 13:32:12 UTC

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

2022-11-16 00:14:33 UTC

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

2022-11-16 00:16:20 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-11-16 00:16:22 UTC

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

2022-11-16 00:16:23 UTC

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

2022-11-16 00:16:24 UTC

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

2022-11-16 00:16:26 UTC

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

2022-11-16 00:17:33 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-11-16 00:17:34 UTC

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