summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJonathon Anderson <17242663+blue42u@users.noreply.github.com>2023-04-28 05:28:33 -0500
committerGitHub <noreply@github.com>2023-04-28 12:28:33 +0200
commitcba8d1253db865466f835faa035fe52e7a5c1394 (patch)
tree4bb8a260b54b8164824c57f441dc2f726bfb76c4 /share
parentc87cc5c7b1165b8032f711a26ea123af67a14a42 (diff)
downloadspack-cba8d1253db865466f835faa035fe52e7a5c1394.tar.gz
spack-cba8d1253db865466f835faa035fe52e7a5c1394.tar.bz2
spack-cba8d1253db865466f835faa035fe52e7a5c1394.tar.xz
spack-cba8d1253db865466f835faa035fe52e7a5c1394.zip
Add container images supporting RHEL alternatives (#36713)
Add container support for AlmaLinux, Fedora 37 and 38 and Rocky Linux
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/container/almalinux_8.dockerfile28
-rw-r--r--share/spack/templates/container/almalinux_9.dockerfile30
-rw-r--r--share/spack/templates/container/fedora_37.dockerfile29
-rw-r--r--share/spack/templates/container/fedora_38.dockerfile29
-rw-r--r--share/spack/templates/container/rockylinux_8.dockerfile29
-rw-r--r--share/spack/templates/container/rockylinux_9.dockerfile31
6 files changed, 176 insertions, 0 deletions
diff --git a/share/spack/templates/container/almalinux_8.dockerfile b/share/spack/templates/container/almalinux_8.dockerfile
new file mode 100644
index 0000000000..13009d2796
--- /dev/null
+++ b/share/spack/templates/container/almalinux_8.dockerfile
@@ -0,0 +1,28 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y \
+ bzip2 \
+ curl \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ zstd \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}
diff --git a/share/spack/templates/container/almalinux_9.dockerfile b/share/spack/templates/container/almalinux_9.dockerfile
new file mode 100644
index 0000000000..a8944532e0
--- /dev/null
+++ b/share/spack/templates/container/almalinux_9.dockerfile
@@ -0,0 +1,30 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y epel-release \
+ && yum update -y \
+ && yum --enablerepo epel install -y \
+ bzip2 \
+ curl-minimal \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ zstd \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}
diff --git a/share/spack/templates/container/fedora_37.dockerfile b/share/spack/templates/container/fedora_37.dockerfile
new file mode 100644
index 0000000000..e1f0570b43
--- /dev/null
+++ b/share/spack/templates/container/fedora_37.dockerfile
@@ -0,0 +1,29 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y \
+ bzip2 \
+ curl \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ zstd \
+ xz \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}
diff --git a/share/spack/templates/container/fedora_38.dockerfile b/share/spack/templates/container/fedora_38.dockerfile
new file mode 100644
index 0000000000..a691da9444
--- /dev/null
+++ b/share/spack/templates/container/fedora_38.dockerfile
@@ -0,0 +1,29 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y \
+ bzip2 \
+ curl \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ xz \
+ zstd \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}
diff --git a/share/spack/templates/container/rockylinux_8.dockerfile b/share/spack/templates/container/rockylinux_8.dockerfile
new file mode 100644
index 0000000000..a691da9444
--- /dev/null
+++ b/share/spack/templates/container/rockylinux_8.dockerfile
@@ -0,0 +1,29 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y \
+ bzip2 \
+ curl \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ xz \
+ zstd \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}
diff --git a/share/spack/templates/container/rockylinux_9.dockerfile b/share/spack/templates/container/rockylinux_9.dockerfile
new file mode 100644
index 0000000000..54c2200cbb
--- /dev/null
+++ b/share/spack/templates/container/rockylinux_9.dockerfile
@@ -0,0 +1,31 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum install -y epel-release \
+ && yum update -y \
+ && yum --enablerepo epel install -y \
+ bzip2 \
+ curl-minimal \
+ file \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hg \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ svn \
+ unzip \
+ xz \
+ zstd \
+ && pip3 install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}