Skip to content

Commit

Permalink
Use Module 3.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
poquirion committed Feb 13, 2020
1 parent 4d2753b commit 908cd29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.premount
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ WORKDIR /tmp

ENV CCTOOLS_VERSION 7.0.16
ENV CVMFS_VERSION latest
ENV MODULE_VERSION 4.1.2
ENV MODULE_VERSION 3.2.10
RUN yum update -y \
&& yum install -y wget unzip.x86_64 make.x86_64 gcc expectk dejagnu less tcl-devel.x86_64 \
&& yum clean all

RUN mkdir /cvmfs-cache /cvmfs && chmod 777 /cvmfs-cache /cvmfs

# module
RUN wget https://github.com/cea-hpc/modules/releases/download/v${MODULE_VERSION}/modules-${MODULE_VERSION}.tar.gz
RUN wget https://sourceforge.net/projects/modules/files/Modules/modules-${MODULE_VERSION}/modules-${MODULE_VERSION}.tar.gz
RUN tar xzf modules-${MODULE_VERSION}.tar.gz && \
rm modules-${MODULE_VERSION}.tar.gz \
&& cd modules-${MODULE_VERSION} && ./configure && make -j 7 && make install \
&& cd .. && rm -rf modules-${MODULE_VERSION} && rm -rf /usr/local/Modules/modulefiles/*
RUN ["ln", "-s", "/usr/local/Modules/init/profile.sh", "/etc/profile.d/z00_module.sh"]
RUN ln -s /usr/local/Modules/${MODULE_VERSION}/init/bash /etc/profile.d/z00_module.sh
#RUN echo "source /etc/profile.d/z00_module.sh" >> /etc/bashrc
ADD devmodule/genpipes "/usr/local/Modules/modulefiles/."

Expand Down

0 comments on commit 908cd29

Please sign in to comment.