Skip to content

Commit 02c482a

Browse files
authored
Add CMake to Windows image (#10)
1 parent d8f3717 commit 02c482a

File tree

1 file changed

+7
-0
lines changed
  • windowsservercore-ltsc2019-qt5.15.0-32bit

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ RUN powershell -Command Invoke-WebRequest $env:OPENSSL_URL -OutFile 'C:/tmp.exe'
2828
&& C:/tmp.exe /silent /verysilent /suppressmsgboxes /sp- /dir=C:/OpenSSL-Win32 \
2929
&& del C:\tmp.exe
3030

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+
3138
# Install Qt whatever DLLs
3239
ARG QT_VERSION="5.15.0"
3340
ARG QT_URL="https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5150/qt.qt5.5150.win32_mingw81/5.15.0-0-202005150700"

0 commit comments

Comments
 (0)