diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12bf9fb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "msre_docker/openmc_install_scripts"] + path = msre_docker/openmc_install_scripts + url = git@github.com:bvhoof/openmc_install_scripts.git diff --git a/msre_docker/Dockerfile b/msre_docker/Dockerfile index 8a8dd9a..bb7aaf2 100644 --- a/msre_docker/Dockerfile +++ b/msre_docker/Dockerfile @@ -25,16 +25,17 @@ COPY openmc_install_scripts/Debian11/embree-install.sh . RUN ./embree-install.sh "$compile_cores" COPY openmc_install_scripts/Debian11/moab-install.sh . -RUN ./moab-install.sh "$compile_cores" +RUN sudo mkdir -p /opt/lib/cmake && sudo ./moab-install.sh "$compile_cores" COPY openmc_install_scripts/Debian11/double_down-install.sh . -RUN ./double_down-install.sh "$compile_cores" +RUN DEBIAN_FRONTEND=noninteractive && sudo ./double_down-install.sh "$compile_cores" COPY openmc_install_scripts/Debian11/dagmc-install.sh . -RUN DEBIAN_FRONTEND=noninteractive && ./dagmc-install.sh "$compile_cores" +RUN DEBIAN_FRONTEND=noninteractive && sudo ./dagmc-install.sh "$compile_cores" COPY openmc_install_scripts/Debian11/openmc-install.sh . -RUN DEBIAN_FRONTEND=noninteractive && ./openmc-install.sh "$compile_cores" +RUN DEBIAN_FRONTEND=noninteractive && sudo ./openmc-install.sh "$compile_cores" +ENV PATH="${PATH}:/usr/local/lib/bin" #clean up a bit RUN rm *-install.sh diff --git a/msre_docker/openmc_install_scripts b/msre_docker/openmc_install_scripts new file mode 160000 index 0000000..5f459da --- /dev/null +++ b/msre_docker/openmc_install_scripts @@ -0,0 +1 @@ +Subproject commit 5f459da3a4556f3d296f5d597415ac961d74ebe8