3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00
dft_tools/Dockerfile

17 lines
479 B
Docker
Raw Normal View History

# See ../triqs/packaging for other options
FROM flatironinstitute/triqs:unstable-ubuntu-clang
ARG APPNAME=app4triqs
COPY requirements.txt /src/$APPNAME/requirements.txt
2020-05-16 19:04:43 +02:00
RUN pip3 install -r /src/$APPNAME/requirements.txt
2020-02-11 20:08:10 +01:00
COPY --chown=build . $SRC/$APPNAME
WORKDIR $BUILD/$APPNAME
2020-02-11 20:08:10 +01:00
RUN chown build .
USER build
ARG BUILD_ID
2021-05-28 19:11:47 +02:00
ARG CMAKE_ARGS
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Deps=Always $CMAKE_ARGS && make -j4 || make -j1 VERBOSE=1
USER root
RUN make install