FROM qtprotobuf/opensuse-latest-builtin-qt:latest ADD . /sources RUN mkdir -p /build && mkdir -p /artifacts WORKDIR /build RUN PATH=$PATH:/usr/lib64/qt5/bin cmake ../sources -DQT_PROTOBUF_MAKE_TESTS=FALSE -DQT_PROTOBUF_MAKE_EXAMPLES=FALSE -DCMAKE_BUILD_TYPE=Release RUN cpack -G RPM ..