Skip to content

Commit 1738483

Browse files
authored
Merge pull request #14 from LibrePCB/update-windows-image
Update various tools in Windows image
2 parents cd77a0a + 6787f64 commit 1738483

File tree

1 file changed

+4
-13
lines changed
  • windowsservercore-ltsc2019-qt5.15.2-32bit

1 file changed

+4
-13
lines changed

windowsservercore-ltsc2019-qt5.15.2-32bit/Dockerfile

+4-13
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ RUN powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \
66
&& SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
77

88
# 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!
1010
ENV PYTHONIOENCODING "UTF-8"
1111
RUN choco install -y 7zip ccache vcredist2017 \
1212
&& 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"
1715

1816
# Install MinGW
1917
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
2321
&& del C:\tmp.7z
2422

2523
# 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"
2725
RUN powershell -Command Invoke-WebRequest $env:OPENSSL_URL -OutFile 'C:/tmp.exe' -UseBasicParsing ; \
2826
&& C:/tmp.exe /silent /verysilent /suppressmsgboxes /sp- /dir=C:/OpenSSL-Win32 \
2927
&& del C:\tmp.exe
3028

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:\Qt\Tools\CMake_64\bin" \
36-
&& del C:\tmp.7z
37-
3829
# Install Qt whatever DLLs
3930
ARG QT_VERSION="5.15.2"
4031
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

Comments
 (0)