3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

[jenkins] Change permissions for application sources in Dockerfile

This commit is contained in:
Nils Wentzell 2019-08-28 11:11:49 -04:00
parent 058e39a6c2
commit 36a21ee819

View File

@ -7,7 +7,7 @@ RUN pip install -r /src/$APPNAME/requirements.txt
COPY . $SRC/$APPNAME COPY . $SRC/$APPNAME
WORKDIR $BUILD/$APPNAME WORKDIR $BUILD/$APPNAME
RUN chown build . RUN chown -R build $SRC/$APPNAME .
USER build USER build
ARG BUILD_DOC=0 ARG BUILD_DOC=0
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 && make test CTEST_OUTPUT_ON_FAILURE=1 RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 && make test CTEST_OUTPUT_ON_FAILURE=1