Skip to content

Commit

Permalink
Verify successful software installation during image build
Browse files Browse the repository at this point in the history
  • Loading branch information
tueda committed Aug 25, 2024
1 parent 150e678 commit c450443
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ RUN mkdir -p ${SOFTWARE_FOLDER} && true \
#### Install Pythia8 and Delphes
RUN echo "n" | python3 ${MG_BINARY_PATH}
RUN echo "install pythia8" | python3 ${MG_BINARY_PATH}
RUN grep '^pythia8_path =' ${MG_FOLDER_PATH}/input/mg5_configuration.txt
RUN grep '^mg5amc_py8_interface_path =' ${MG_FOLDER_PATH}/input/mg5_configuration.txt
RUN grep '^lhapdf_py3 =' ${MG_FOLDER_PATH}/input/mg5_configuration.txt
RUN echo "install Delphes" | python3 ${MG_BINARY_PATH}
RUN command -v ${MG_FOLDER_PATH}/Delphes/DelphesHepMC3

# Turn ON Python2 -> Python3 models conversion
RUN echo "set auto_convert_model T" | python3 ${MG_BINARY_PATH}
Expand Down

0 comments on commit c450443

Please sign in to comment.