3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 16:34:53 +02:00
dft_tools/Dockerfile
Dylan Simon 616479d883 [jenkins] Use persistent osx triqs install; cleanup
Should now match dft_tools and soon cthyb
2018-03-23 15:30:28 -04:00

13 lines
340 B
Docker

# See ../triqs/packaging for other options
FROM flatironinstitute/triqs:master-ubuntu-clang
ARG APPNAME=app4triqs
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} && make -j2 && make test
USER root
RUN make install