Skip to content

[ci] Restore deleted Dockerfiles #3502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions ci-scripts/dockerfiles/Lmod.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM ubuntu:20.04

ENV TZ=Europe/Zurich
ENV DEBIAN_FRONTEND=noninteractive
ENV _LMOD_VER=8.4.12

# Setup apt
RUN \
apt-get -y update && \
apt-get -y install ca-certificates && \
update-ca-certificates

# Required utilities
RUN apt-get -y install wget

# Install Lmod
RUN \
apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 && \
wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
tar xzf lmod.tar.gz && \
cd Lmod-${_LMOD_VER} && \
./configure && make install && \
cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
33 changes: 33 additions & 0 deletions ci-scripts/dockerfiles/Lmod77.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# LMod versions prior to 8.2 emitted Python commands differently, so we use this
# Dockerfile to test the bindings of older versions
#


FROM ubuntu:20.04

ENV TZ=Europe/Zurich
ENV DEBIAN_FRONTEND=noninteractive
ENV _LMOD_VER=7.7

# Setup apt
RUN \
apt-get -y update && \
apt-get -y install ca-certificates && \
update-ca-certificates

# Required utilities
RUN apt-get -y install wget

# Install Lmod
RUN \
apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 lua-filesystem:amd64 lua-filesystem-dev:amd64 && \
wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
tar xzf lmod.tar.gz && \
cd Lmod-${_LMOD_VER} && \
./configure && make install && \
cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
10 changes: 10 additions & 0 deletions ci-scripts/dockerfiles/Tmod32.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM centos:7

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

# Install Tmod 3.2.10
RUN yum -y install environment-modules && \
yum clean all && \
rm -rf /var/cache/yum
27 changes: 27 additions & 0 deletions ci-scripts/dockerfiles/Tmod4.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM ubuntu:20.04

ENV TZ=Europe/Zurich
ENV DEBIAN_FRONTEND=noninteractive
ENV _TMOD_VER=4.6.0

# Setup apt
RUN \
apt-get -y update && \
apt-get -y install ca-certificates && \
update-ca-certificates

# Required utilities
RUN apt-get -y install wget less

# Install Tmod4
RUN \
apt-get -y install autoconf tcl-dev && \
wget -q https://github.com/cea-hpc/modules/archive/v${_TMOD_VER}.tar.gz -O tmod.tar.gz && \
tar xzf tmod.tar.gz && \
cd modules-${_TMOD_VER} && \
./configure && make install && \
cd .. && rm -rf tmod.tar.gz modules-${_TMOD_VER} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ENV BASH_ENV=/usr/local/Modules/init/profile.sh
Loading