Dockerfile.ubuntu 308 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.13.2/gcc_64/bin:$PATH
  6. RUN cmake ../sources -DCMAKE_PREFIX_PATH="/qt/5.13.2/gcc_64/lib/cmake"
  7. RUN cmake --build . --config RELEASE
  8. ENV QT_PLUGIN_PATH=/qt/5.13.2/gcc_64/plugins
  9. ENV QT_QPA_PLATFORM=minimal