diff --git a/lmod/Dockerfile b/lmod/Dockerfile index bd117d2d7d9d2e600560d5e39f23998a3b5c81b8..5d419e942fb4d94c0230cdbf3732e30eef0894bd 100644 --- a/lmod/Dockerfile +++ b/lmod/Dockerfile @@ -20,8 +20,7 @@ RUN dnf -yq update && \ # Download and install curlftpfs RUN mkdir -p /opt/apps/install COPY --chown=root:root ./install_files/curlftpfs /opt/apps/install/curlftpfs -RUN wget -O /opt/apps/install/curlftpfs-0.9.2.tar.gz https://sourceforge.net/projects/curlftpfs/files/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz/download && \ - /bin/bash /opt/apps/install/curlftpfs/install_curlftpfs_0.9.2.sh +RUN /bin/bash /opt/apps/install/curlftpfs/install_curlftpfs_0.9.2.sh # Download and install davfs2 COPY --chown=root:root ./install_files/davfs2-1.7.0-7.el9.x86_64.rpm /tmp/davfs2-1.7.0-7.el9.x86_64.rpm @@ -46,10 +45,9 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ chmod g+w /etc/passwd && \ fix-permissions $HOME -# Download lua and lmod # RUN mkdir -p /opt/apps/install -RUN wget -O /opt/apps/install/lua-5.1.4.9.tar.bz2 https://sourceforge.net/projects/lmod/files/lua-5.1.4.9.tar.bz2/download -RUN wget -O /opt/apps/install/lmod-8.7.tar.bz2 https://sourceforge.net/projects/lmod/files/Lmod-8.7.tar.bz2/download +COPY --chown=root:root ./install_files/lua-5.1.4.9.tar.bz2 /opt/apps/install/lua-5.1.4.9.tar.bz2 +COPY --chown=root:root ./install_files/lmod-8.7.tar.bz2 /opt/apps/install/lmod-8.7.tar.bz2 # Install lua COPY --chown=root:root ./install_files/lua /opt/apps/install/lua diff --git a/lmod/install_files/curlftpfs/curlftpfs-0.9.2.tar.gz b/lmod/install_files/curlftpfs/curlftpfs-0.9.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..dcd3ba755e23ddc8e2fe1f2ac22be55ecc6d2335 Binary files /dev/null and b/lmod/install_files/curlftpfs/curlftpfs-0.9.2.tar.gz differ diff --git a/lmod/install_files/curlftpfs/install_curlftpfs_0.9.2.sh b/lmod/install_files/curlftpfs/install_curlftpfs_0.9.2.sh index 592e22852ee2a5bfdf90407ae0331af498bedded..6bdd73c9005a99ecea61504861b4e9e7a27c691b 100644 --- a/lmod/install_files/curlftpfs/install_curlftpfs_0.9.2.sh +++ b/lmod/install_files/curlftpfs/install_curlftpfs_0.9.2.sh @@ -1,7 +1,7 @@ #!/bin/bash -cd /opt/apps/install +cd /opt/apps/install/curlftpfs tar xf curlftpfs-0.9.2.tar.gz -cd /opt/apps/install/curlftpfs-0.9.2 +cd /opt/apps/install/curlftpfs/curlftpfs-0.9.2 ./configure --prefix /opt/apps/curlftpfs --build=x86_64-unknown-linux-gnu make make install diff --git a/lmod/install_files/lmod-8.7.tar.bz2 b/lmod/install_files/lmod-8.7.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..478bee8403e2ba66377f3e825a04d8bca1147025 Binary files /dev/null and b/lmod/install_files/lmod-8.7.tar.bz2 differ diff --git a/lmod/install_files/lua-5.1.4.9.tar.bz2 b/lmod/install_files/lua-5.1.4.9.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..3312f8f63a5530093d26e1c002e50e7a61992335 Binary files /dev/null and b/lmod/install_files/lua-5.1.4.9.tar.bz2 differ