2018-02-12 20:11:41 +01:00
|
|
|
# See ../triqs/packaging for other options
|
|
|
|
FROM flatironinstitute/triqs:master-ubuntu-clang
|
|
|
|
|
2019-04-26 20:25:58 +02:00
|
|
|
ARG APPNAME
|
2018-03-23 20:35:56 +01:00
|
|
|
COPY . $SRC/$APPNAME
|
|
|
|
WORKDIR $BUILD/$APPNAME
|
2018-02-12 20:11:41 +01:00
|
|
|
RUN chown build .
|
|
|
|
USER build
|
2018-03-23 20:35:56 +01:00
|
|
|
ARG BUILD_DOC=0
|
2018-11-29 22:01:39 +01:00
|
|
|
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 && make test CTEST_OUTPUT_ON_FAILURE=1
|
2018-02-12 20:11:41 +01:00
|
|
|
USER root
|
|
|
|
RUN make install
|