Dockerfile.ubuntu_static 340 B

123456789
  1. FROM qtprotobuf/ubuntu-latest-qt:latest
  2. ADD . /sources
  3. RUN mkdir -p /build
  4. WORKDIR /build
  5. ENV PATH=/qt/5.15.2/gcc_64/bin:$PATH
  6. RUN cmake ../sources -DCMAKE_PREFIX_PATH="/qt/5.15.2/gcc_64/lib/cmake" -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Debug
  7. RUN cmake --build .
  8. ENV QT_PLUGIN_PATH=/qt/5.15.2/gcc_64/plugins
  9. ENV QT_QPA_PLATFORM=minimal