mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
b5a85e3034
Co-authored-by: Dylan Simon <dylan@dylex.net> Co-authored-by: Alexander Hampel <ahampel@flatironinstitute.org>
17 lines
459 B
Docker
17 lines
459 B
Docker
# See ../triqs/packaging for other options
|
|
FROM flatironinstitute/triqs:unstable-ubuntu-clang
|
|
ARG APPNAME=app4triqs
|
|
|
|
COPY requirements.txt /src/$APPNAME/requirements.txt
|
|
RUN pip3 install -r /src/$APPNAME/requirements.txt
|
|
|
|
COPY --chown=build . $SRC/$APPNAME
|
|
WORKDIR $BUILD/$APPNAME
|
|
RUN chown build .
|
|
USER build
|
|
ARG BUILD_ID
|
|
ARG CMAKE_ARGS
|
|
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} $CMAKE_ARGS && make -j4 || make -j1 VERBOSE=1
|
|
USER root
|
|
RUN make install
|