@@ -52,22 +52,22 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:GIT});
5252 Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\*
5353
5454# Install Python
55- ARG PY39 =https://www.python.org/ftp/python/3.9.13 /python-3.9.13 -amd64.exe
56- ARG PY39_SHA256=FB3D0466F3754752CA7FD839A09FFE53375FF2C981279FD4BC23A005458F7F5D
57- RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39 }); \
58- Invoke-WebRequest -Uri ${env:PY39 } -OutFile python-3.9.13 -amd64.exe; \
55+ ARG PY310 =https://www.python.org/ftp/python/3.10.11 /python-3.10.11 -amd64.exe
56+ ARG PY310_SHA256=D8DEDE5005564B408BA50317108B765ED9C3C510342A598F9FD42681CBE0648B
57+ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY310 }); \
58+ Invoke-WebRequest -Uri ${env:PY310 } -OutFile python-3.10.11 -amd64.exe; \
5959 Write-Host '✓' ; \
60- Write-Host -NoNewLine ('Verifying SHA256 ({0}) ... ' -f ${env:PY39_SHA256 });\
61- $Hash = Get-FileHash python-3.9.13 -amd64.exe -Algorithm sha256; \
62- if ($Hash.Hash -eq ${env:PY39_SHA256 }) { \
60+ Write-Host -NoNewLine ('Verifying SHA256 ({0}) ... ' -f ${env:PY310_SHA256 });\
61+ $Hash = Get-FileHash python-3.10.11 -amd64.exe -Algorithm sha256; \
62+ if ($Hash.Hash -eq ${env:PY310_SHA256 }) { \
6363 Write-Host '✓' ; \
6464 } else { \
6565 Write-Host ('✘ ({0})' -f $Hash.Hash); \
6666 exit 1; \
6767 } \
6868 Write-Host -NoNewLine 'Installing Python ... ' ; \
6969 $Process = \
70- Start-Process python-3.9.13 -amd64.exe -Wait -PassThru -NoNewWindow -ArgumentList @( \
70+ Start-Process python-3.10.11 -amd64.exe -Wait -PassThru -NoNewWindow -ArgumentList @( \
7171 'AssociateFiles=0' , \
7272 'Include_doc=0' , \
7373 'Include_debug=0' , \
@@ -85,7 +85,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39});
8585 Write-Host ('✘ ({0})' -f $Process.ExitCode); \
8686 exit 1; \
8787 } \
88- Remove-Item -Force python-3.9.13 -amd64.exe; \
88+ Remove-Item -Force python-3.10.11 -amd64.exe; \
8989 Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\*
9090
9191# Install Visual Studio Build Tools
0 commit comments