Add container images supporting RHEL alternatives (#36713)
Add container support for AlmaLinux, Fedora 37 and 38 and Rocky Linux
This commit is contained in:

committed by
GitHub

parent
c87cc5c7b1
commit
cba8d1253d
28
share/spack/templates/container/almalinux_8.dockerfile
Normal file
28
share/spack/templates/container/almalinux_8.dockerfile
Normal file
@@ -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 %}
|
30
share/spack/templates/container/almalinux_9.dockerfile
Normal file
30
share/spack/templates/container/almalinux_9.dockerfile
Normal file
@@ -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 %}
|
29
share/spack/templates/container/fedora_37.dockerfile
Normal file
29
share/spack/templates/container/fedora_37.dockerfile
Normal file
@@ -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 %}
|
29
share/spack/templates/container/fedora_38.dockerfile
Normal file
29
share/spack/templates/container/fedora_38.dockerfile
Normal file
@@ -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 %}
|
29
share/spack/templates/container/rockylinux_8.dockerfile
Normal file
29
share/spack/templates/container/rockylinux_8.dockerfile
Normal file
@@ -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 %}
|
31
share/spack/templates/container/rockylinux_9.dockerfile
Normal file
31
share/spack/templates/container/rockylinux_9.dockerfile
Normal file
@@ -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 %}
|
Reference in New Issue
Block a user