@@ -6,14 +6,12 @@ RUN powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \
6
6
&& SET "PATH=%PATH%;%ALLUSERSPROFILE%\c hocolatey\b in"
7
7
8
8
# Install Chocolatey Packages
9
- # Note: Funq doesn't work with Python3 or x64, thus we need Python2 x86.
9
+ # Note: Funq requires to install x86 Python since Qt is also x86!
10
10
ENV PYTHONIOENCODING "UTF-8"
11
11
RUN choco install -y 7zip ccache vcredist2017 \
12
12
&& choco install -y git --params "/GitAndUnixToolsOnPath /NoAutoCrlf" \
13
- && choco install --forcex86 -y python2
14
-
15
- # Install Python Packages
16
- RUN pip install future "flake8==3.7.7"
13
+ && choco install --forcex86 -y python3 --version 3.10.0 \
14
+ && choco install -y cmake --version 3.21.3 --installargs "ADD_CMAKE_TO_PATH=System"
17
15
18
16
# Install MinGW
19
17
ARG MINGW_URL="https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_mingw/qt.tools.win32_mingw810/8.1.0-1-202004170606i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z"
@@ -23,18 +21,11 @@ RUN powershell -Command Invoke-WebRequest $env:MINGW_URL -OutFile 'C:/tmp.7z' -U
23
21
&& del C:\t mp.7z
24
22
25
23
# Install OpenSSL
26
- ARG OPENSSL_URL="http://slproweb.com/download/Win32OpenSSL_Light-1_1_1g .exe"
24
+ ARG OPENSSL_URL="http://slproweb.com/download/Win32OpenSSL_Light-1_1_1L .exe"
27
25
RUN powershell -Command Invoke-WebRequest $env:OPENSSL_URL -OutFile 'C:/tmp.exe' -UseBasicParsing ; \
28
26
&& C:/tmp.exe /silent /verysilent /suppressmsgboxes /sp- /dir=C:/OpenSSL-Win32 \
29
27
&& del C:\t mp.exe
30
28
31
- # Install CMake
32
- ARG CMAKE_URL="https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_cmake/qt.tools.cmake.win64/3.19.2-202101071154windows64_x64_cmake_tools.7z"
33
- RUN powershell -Command Invoke-WebRequest $env:CMAKE_URL -OutFile 'C:/tmp.7z' -UseBasicParsing ; \
34
- && 7z x C:/tmp.7z -oC:/Qt -bsp1 \
35
- && setx PATH "%PATH%;C:\Q t\T ools\C Make_64\b in" \
36
- && del C:\t mp.7z
37
-
38
29
# Install Qt whatever DLLs
39
30
ARG QT_VERSION="5.15.2"
40
31
ARG QT_URL="https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5152/qt.qt5.5152.win32_mingw81/5.15.2-0-202011130602"
0 commit comments