Dockerfile.opensuse 343 B

123456789
  1. FROM qtprotobuf/opensuse-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=ON -DCMAKE_BUILD_TYPE=Release
  7. RUN cmake --build .
  8. ENV QT_PLUGIN_PATH=/qt/5.15.2/gcc_64/plugins
  9. ENV QT_QPA_PLATFORM=minimal