3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-28 09:48:17 +01:00
dft_tools/Dockerfile
2024-03-22 15:26:07 -04:00

17 lines
438 B
Docker

# See ../triqs/packaging for other options
FROM flatironinstitute/triqs:unstable-ubuntu-clang
ARG APPNAME=app4triqs
# Install here missing dependencies, e.g.
# RUN apt-get install -y python3-skimage
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