3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 16:34:53 +02:00
dft_tools/Dockerfile
2018-04-06 11:37:30 -04:00

13 lines
401 B
Docker

# See ../triqs/packaging for other options
FROM flatironinstitute/triqs:master-ubuntu-clang
ARG APPNAME
COPY . $SRC/$APPNAME
WORKDIR $BUILD/$APPNAME
RUN chown build .
USER build
ARG BUILD_DOC=0
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} -DCPP2RST_INCLUDE_DIRS=--includes=/usr/lib/llvm-${LLVM}/include/c++/v1 && make -j2 && make test
USER root
RUN make install