From 554913ba880a5c961d553511e39e048e89004f66 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Thu, 28 Jul 2022 08:18:52 +0200 Subject: [PATCH] Fix: prefix path --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7bb4b6b..0db1ab8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ WORKDIR /workspace RUN echo "**** setup environment ****" && \ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 && \ - export PATH=$JAVA_HOME/bin:$PATH && \ + export QT_INSTALL_DIR=/usr/lib/qt && \ + export PATH=$QT_INSTALL_DIR/bin:$JAVA_HOME/bin:$PATH && \ export QT_EVERYWHERE_URL="https://download.qt.io/archive/qt/${QT_VERSION_FAMILY}/${QT_VERSION}/single/qt-everywhere-opensource-src-${QT_VERSION}.tar.xz" && \ export ANDROID_CLI_TOOLS_URL="https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip" && \ \ @@ -36,7 +37,7 @@ RUN echo "**** setup environment ****" && \ echo "**** configure Qt ****" && \ mkdir build-qt && cd build-qt && \ /workspace/qt-everywhere/configure \ - -prefix /usr/local \ + -prefix $QT_INSTALL_DIR \ -opensource \ -confirm-license \ -release \