Skip to content

Commit

Permalink
set LD_LIBRARY_PATH in SHELL
Browse files Browse the repository at this point in the history
  • Loading branch information
stadie authored Dec 3, 2024
1 parent be76d67 commit 322eb7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ RUN git clone http://github.com/vmc-project/geant4_vmc.git $GEANT4_VMC_DIR/git_s
cd .. && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=$GEANT4_VMC_DIR -DGeant4VMC_USE_VGM=ON -DGeant4VMC_BUILD_EXAMPLES=OFF -DGeant4VMC_USE_GEANT4_UI=OFF -DGeant4VMC_USE_GEANT4_VIS=OFF -DGeant4VMC_INSTALL_EXAMPLES=OFF $GEANT4_VMC_DIR/git_source && \
cmake -DCMAKE_INSTALL_PREFIX=$GEANT4_VMC_DIR -DGeant4VMC_USE_VGM=ON -DGeant4VMC_BUILD_EXAMPLES=ON -DGeant4VMC_USE_GEANT4_UI=OFF -DGeant4VMC_USE_GEANT4_VIS=OFF -DGeant4VMC_INSTALL_EXAMPLES=ON $GEANT4_VMC_DIR/git_source && \
make -j4 && \
make install && \
cd .. && \
rm -rf build git_source

ARG USE_VGM=1
ARG LD_LIBRARY_PATH=$VGM_DIR/lib:VMC_DIR/lib:GEANT4_VMC_DIR/lib:$LD_LIBRARY_PATH
RUN echo $LD_LIBRARY_PATH
RUN export LD_LIBRARY_PATH=$VGM_DIR/lib:VMC_DIR/lib:GEANT4_VMC_DIR/lib:$LD_LIBRARY_PATH && \
echo $LD_LIBRARY_PATH

0 comments on commit 322eb7f

Please sign in to comment.