3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 12:23:41 +01:00
dft_tools/Dockerfile
Dylan Simon 364c99d292 [jenkins] expand LLVM arg
Doesn't propagate from parent image
2018-04-06 11:55:25 -04:00

13 lines
400 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_COMMAND=--includes=/usr/lib/llvm-5.0/include/c++/v1 && make -j2 && make test
USER root
RUN make install