Skip to content

Commit 5b0eab5

Browse files
authored
use init an activate in one line
1 parent 0e2fee2 commit 5b0eab5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ FROM condaforge/miniforge3:24.9.2-0
33
ARG APPS_DIR=/usr/local
44
RUN conda create -y --name geant --channel=conda-forge geant4 root cmake make
55
RUN conda clean --all
6-
RUN conda init
7-
RUN conda activate geant
86

97
ARG VMC_DIR=$APPS_DIR/vmc
10-
RUN git clone http://github.com/vmc-project/vmc.git $VMC_DIR/git_source && \
8+
RUN conda init && conda activate geant && \
9+
git clone http://github.com/vmc-project/vmc.git $VMC_DIR/git_source && \
1110
cd $VMC_DIR && \
1211
git checkout v2-0 && \
1312
mkdir build && \

0 commit comments

Comments
 (0)