From b0b8655633dbaf674f99ddd2c0fc6e2d717f2819 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 27 Feb 2023 10:00:33 +0100 Subject: [PATCH] Updated windows build env --- .../Dockerfile | 30 ++++++------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/scripts/docker_files/docker_file_wheelbuilder_windows/Dockerfile b/scripts/docker_files/docker_file_wheelbuilder_windows/Dockerfile index 5aea2c2fb45e..b984e0406ea4 100644 --- a/scripts/docker_files/docker_file_wheelbuilder_windows/Dockerfile +++ b/scripts/docker_files/docker_file_wheelbuilder_windows/Dockerfile @@ -44,27 +44,6 @@ RUN powershell.exe -Command \ mkdir c:\boost; \ 7z x c:\TEMP\boost.zip -o"c:\boost" -#Install python 3.6 -RUN powershell.exe -Command \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - wget https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe -OutFile c:\temp\python36.exe; \ - mkdir c:\python\36; \ - Start-Process c:\temp\python36.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=0 TargetDir=c:\\python\\36' -Wait; \ - c:\python\36\python.exe -m pip install --upgrade pip; \ - c:\python\36\python.exe -m pip install mypy; \ - c:\python\36\python.exe -m pip install --upgrade setuptools wheel - - -#Install python 3.7 -RUN powershell.exe -Command \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - wget https://www.python.org/ftp/python/3.7.7/python-3.7.7-amd64.exe -OutFile c:\temp\python37.exe; \ - mkdir c:\python\37; \ - Start-Process c:\temp\python37.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=0 TargetDir=c:\\python\\37' -Wait; \ - c:\python\37\python.exe -m pip install --upgrade pip; \ - c:\python\37\python.exe -m pip install mypy; \ - c:\python\37\python.exe -m pip install --upgrade setuptools wheel - #Install python 3.8 RUN powershell.exe -Command \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ @@ -94,6 +73,15 @@ RUN powershell.exe -Command \ c:\python\310\python.exe -m pip install --upgrade pip; \ c:\python\310\python.exe -m pip install --upgrade setuptools wheel +#Install python 3.11 +RUN powershell.exe -Command \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ + wget https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe -OutFile c:\temp\python311.exe; \ + mkdir c:\python\311; \ + Start-Process c:\temp\python311.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=0 TargetDir=c:\\python\\311' -Wait; \ + c:\python\311\python.exe -m pip install --upgrade pip; \ + c:\python\311\python.exe -m pip install --upgrade setuptools wheel + # Download and extract boost RUN powershell.exe -Command \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \