FROM ubuntu:19.04 RUN apt-get -qq update RUN apt-get -qq install -y libgrpc++-dev \ protobuf-compiler-grpc libgrpc++1 \ libgrpc-dev \ libgrpc6 \ build-essential \ cmake \ golang \ wget \ libdbus-1-3 \ libfreetype6 libfontconfig libx11-6 \ libgl1-mesa-dev \ libsm6 \ libice6 \ libxext6 \ libxrender1 \ doxygen \ libgtest-dev RUN wget --quiet https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-linux-x64-5.13.2.run -P / RUN chmod +x /qt-opensource-linux-x64-5.13.2.run COPY .ci/qt_installer.qs /qt_installer.qs RUN /qt-opensource-linux-x64-5.13.2.run -platform minimal --script /qt_installer.qs ADD . /sources RUN mkdir -p /build WORKDIR /build ENV PATH=/qt/5.13.2/gcc_64/bin:$PATH RUN cmake ../sources -DCMAKE_PREFIX_PATH="/qt/5.13.2/gcc_64/lib/cmake" RUN cmake --build . --config RELEASE ENV QT_PLUGIN_PATH=/qt/5.13.2/gcc_64/plugins ENV QT_QPA_PLATFORM=minimal