mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
13 lines
366 B
Docker
13 lines
366 B
Docker
# See ../triqs/packaging for other options
|
|
FROM flatironinstitute/triqs:master-ubuntu-clang
|
|
|
|
ARG APPNAME=dft_tools
|
|
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 CTEST_OUTPUT_ON_FAILURE=1
|
|
USER root
|
|
RUN make install
|