2018-02-12 20:11:41 +01:00
|
|
|
# See ../triqs/packaging for other options
|
2020-06-10 17:45:53 +02:00
|
|
|
FROM flatironinstitute/triqs:unstable-ubuntu-clang
|
|
|
|
ARG APPNAME=triqs_dft_tools
|
2018-02-12 20:11:41 +01:00
|
|
|
|
2024-03-25 19:14:31 +01:00
|
|
|
RUN apt-get install -y meson ninja-build python3-setuptools
|
2020-06-10 17:45:53 +02:00
|
|
|
|
|
|
|
COPY --chown=build . $SRC/$APPNAME
|
2018-03-23 20:35:56 +01:00
|
|
|
WORKDIR $BUILD/$APPNAME
|
2018-02-12 20:11:41 +01:00
|
|
|
RUN chown build .
|
|
|
|
USER build
|
2020-06-15 16:35:10 +02:00
|
|
|
ARG BUILD_ID
|
2021-05-28 19:11:47 +02:00
|
|
|
ARG CMAKE_ARGS
|
2022-01-20 21:38:11 +01:00
|
|
|
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} $CMAKE_ARGS && make -j4 || make -j1 VERBOSE=1
|
2018-02-12 20:11:41 +01:00
|
|
|
USER root
|
|
|
|
RUN make install
|