From 4aa6d9afebbe36fa3d42869bae72cd38cc0747d7 Mon Sep 17 00:00:00 2001 From: Hartmut Stadie Date: Mon, 2 Dec 2024 13:29:17 +0100 Subject: [PATCH] try sourcing bashrc --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1873873..df39376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,11 @@ SHELL ["/bin/bash", "-c"] ARG APPS_DIR=/usr/local RUN conda create -y --name geant --channel=conda-forge geant4 root cmake make RUN conda clean --all +RUN conda init ARG VMC_DIR=$APPS_DIR/vmc -RUN conda activate geant && \ +RUN . ~/.bashrc + conda activate geant && \ git clone http://github.com/vmc-project/vmc.git $VMC_DIR/git_source && \ cd $VMC_DIR && \ git checkout v2-0 && \