diff --git a/Dockerfile b/Dockerfile index 9a199b2..8c90b18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,14 +7,17 @@ RUN conda clean --all SHELL ["conda", "run", "-n", "geant", "/bin/bash", "-c"] ARG VMC_DIR=$APPS_DIR/vmc +RUN mkdir $VMC_DIR RUN git clone http://github.com/vmc-project/vmc.git $VMC_DIR/git_source && \ - cd $VMC_DIR && \ + cd $VMC_DIR/git_source && \ git checkout v2-0 && \ + cd .. && \ mkdir build && \ cd build && \ cmake -DCMAKE_INSTALL_PREFIX=$VMC_DIR $VMC_DIR/git_source && \ make -j4 && \ make install && \ + cd .. && \ rm -rf build git_source