1 FROM numlibs AS buildqpms
3 ENV LD_LIBRARY_PATH /home/qpmsbuild/.local/lib
4 ENV LIBRARY_PATH /home/qpmsbuild/.local/lib
5 ENV C_INCLUDE_PATH /home/qpmsbuild/.local/include
6 RUN cd && git clone --depth 1 https://repo.or.cz/qpms.git \
7 && cd qpms && git submodule init && git submodule update
8 RUN cd ~/qpms && cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local . \
11 RUN cd ~/qpms && python3 setup.py install --user