From a8369803881ecabd0f17b9f3ed29464ecc8679f6 Mon Sep 17 00:00:00 2001 From: Hartmut Stadie Date: Mon, 2 Dec 2024 13:39:00 +0100 Subject: [PATCH] fix directories --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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