From d0ee04d79b572b9e6378ece5f007aa0abf19a2a3 Mon Sep 17 00:00:00 2001 From: Alexander Diamadis Date: Mon, 14 Nov 2022 10:41:20 +0100 Subject: [PATCH] Added Static Conf --- static/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 static/Dockerfile diff --git a/static/Dockerfile b/static/Dockerfile new file mode 100644 index 0000000..20b2c5a --- /dev/null +++ b/static/Dockerfile @@ -0,0 +1,14 @@ + +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.1 +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 -static +WORKDIR /root/qt6-build +RUN cmake --build . --parallel 2 +RUN cmake --install . +ENV QTVERSION=6.4.1 +WORKDIR /usr/local/Qt-${QTVERSION}/bin +RUN rm -rf /root/* \ No newline at end of file