Dockerfile.ubuntu 944 B

12345678910111213141516171819202122232425262728293031
  1. FROM ubuntu:19.04
  2. RUN apt-get -qq update
  3. RUN apt-get -qq install -y libgrpc++-dev \
  4. protobuf-compiler-grpc libgrpc++1 \
  5. libgrpc-dev \
  6. libgrpc6 \
  7. build-essential \
  8. cmake \
  9. golang \
  10. wget \
  11. libdbus-1-3 \
  12. libfreetype6 libfontconfig libx11-6 \
  13. libgl1-mesa-dev \
  14. libsm6 \
  15. libice6 \
  16. libxext6 \
  17. libxrender1 \
  18. doxygen \
  19. libgtest-dev
  20. RUN wget --quiet https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-linux-x64-5.13.2.run -P /
  21. RUN chmod +x /qt-opensource-linux-x64-5.13.2.run
  22. COPY .ci/qt_installer.qs /qt_installer.qs
  23. RUN /qt-opensource-linux-x64-5.13.2.run -platform minimal --script /qt_installer.qs
  24. ADD . /sources
  25. RUN mkdir -p /build
  26. WORKDIR /build
  27. ENV PATH=/qt/5.13.2/gcc_64/bin:$PATH
  28. RUN cmake ../sources -DCMAKE_PREFIX_PATH="/qt/5.13.2/gcc_64/lib/cmake"
  29. RUN cmake --build . --config RELEASE
  30. ENV QT_PLUGIN_PATH=/qt/5.13.2/gcc_64/plugins
  31. ENV QT_QPA_PLATFORM=minimal