From 2fb9ccae2355eba2c382f28fca51fec5f295d2b8 Mon Sep 17 00:00:00 2001 From: Alexander Diamadis Date: Sun, 13 Nov 2022 10:36:41 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EDockerfile=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5b19c5..4324c79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ 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 qt6 +RUN git clone https://code.qt.io/qt/qt5.git /root/qt6 WORKDIR /root/qt6 -RUN cd /root/qt6 && perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver +RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver RUN mkdir /root/qt6-build && cd /root/qt6-build && /root/qt6/configure -RUN cd /root/qt6-build && cmake --build . --parallel 4 -RUN cd /root/qt6-build && cmake --install . +WORKDIR /root/qt6-build +RUN cmake --build . --parallel 4 +RUN cmake --install . ENV QTVERSION=6.4.2 WORKDIR /usr/local/Qt-${QTVERSION}/bin -RUN rm -rf /root/* +RUN rm -rf /root/* \ No newline at end of file