diff --git a/Dockerfile b/Dockerfile index 13569e4..b0622f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ + FROM debian:11 RUN apt update && apt install -y build-essential libgl1-mesa-dev git cmake libmariadb-dev RUN git clone https://code.qt.io/qt/qt5.git /root/qt6 WORKDIR /root/qt6 RUN git checkout 6.4 -RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver,qtwebsockets -RUN mkdir /root/qt6-build && cd /root/qt6-build && /root/qt6/configure -no-opengl -no-gui -no-widgets -no-dbus -no-pcre -static -release -- -D QT_FORCE_MIN_CMAKE_VERSION_FOR_BUILDING_QT=3.18 +RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver +RUN mkdir /root/qt6-build && cd /root/qt6-build && /root/qt6/configure -no-opengl -no-gui -no-widgets -no-dbus -no-xml -no-pcre WORKDIR /root/qt6-build RUN cmake --build . --parallel 2 RUN cmake --install .