Skip to content

Commit 4aa6d9a

Browse files
authored
try sourcing bashrc
1 parent 294a11c commit 4aa6d9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ SHELL ["/bin/bash", "-c"]
44
ARG APPS_DIR=/usr/local
55
RUN conda create -y --name geant --channel=conda-forge geant4 root cmake make
66
RUN conda clean --all
7+
RUN conda init
78

89
ARG VMC_DIR=$APPS_DIR/vmc
9-
RUN conda activate geant && \
10+
RUN . ~/.bashrc
11+
conda activate geant && \
1012
git clone http://github.com/vmc-project/vmc.git $VMC_DIR/git_source && \
1113
cd $VMC_DIR && \
1214
git checkout v2-0 && \

0 commit comments

Comments
 (0)