Dockerfile_build 577 Bytes
Newer Older
eric pellegrini's avatar
eric pellegrini committed
1 2 3 4 5 6
FROM docker.ill.fr/scientific-software/mdanse:ubuntu-xenial

SHELL ["/bin/bash", "-c"]

ARG MDANSE_GIT_COMMIT

7 8
ARG MDANSE_GIT_BRANCH_NAME

eric pellegrini's avatar
eric pellegrini committed
9 10 11 12 13 14
RUN GIT_SSL_NO_VERIFY=true git clone https://code.ill.fr/scientific-software/mdanse.git

WORKDIR mdanse

RUN git checkout ${MDANSE_GIT_COMMIT}

15
RUN source ./BuildServer/Unix/definitions_debian.sh ${MDANSE_GIT_BRANCH_NAME}; source ./BuildServer/Unix/version.sh ; ./BuildServer/Unix/build.sh
eric pellegrini's avatar
eric pellegrini committed
16

17
RUN source ./BuildServer/Unix/definitions_debian.sh ${MDANSE_GIT_BRANCH_NAME}; source ./BuildServer/Unix/version.sh ; ./BuildServer/Unix/tests.sh
eric pellegrini's avatar
eric pellegrini committed
18