FROM registry.access.redhat.com/ubi8/ubi MAINTAINER "dev@qpid.apache.org" # Notice here that we get python3-qpid-proton; not on ubi8 we dont RUN dnf -y install gcc gcc-c++ cmake openssl-devel cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-gssapi git make python3-devel curl wget pkgconfig # https://bugzilla.redhat.com/show_bug.cgi?id=1963167 RUN dnf -y install libarchive RUN mkdir /main RUN cd /main && git clone https://github.com/open-source-parsers/jsoncpp.git && mkdir /main/jsoncpp/build WORKDIR /main/jsoncpp/build RUN cmake .. -DBUILD_SHARED_LIBS=ON && make -j4 install RUN cd /main && git clone https://gitbox.apache.org/repos/asf/qpid-proton.git && cd /main/qpid-proton && mkdir /main/qpid-proton/build WORKDIR /main/qpid-proton/build RUN PKG_CONFIG_PATH=/main/jsoncpp/build/install/lib64/pkgconfig cmake .. -DCMAKE_INSTALL_PREFIX=/main/qpid-proton/build/install && make -j4 install