containers: Add Fedora 40, 39 (#43847)

This commit is contained in:
Jonathon Anderson 2024-04-26 20:02:04 -05:00 committed by GitHub
parent 5a3814ff15
commit ae9f2d4d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 33 additions and 32 deletions

View file

@ -50,7 +50,9 @@ jobs:
[rockylinux8, 'linux/amd64,linux/arm64', 'rockylinux:8'],
[rockylinux9, 'linux/amd64,linux/arm64', 'rockylinux:9'],
[fedora37, 'linux/amd64,linux/arm64,linux/ppc64le', 'fedora:37'],
[fedora38, 'linux/amd64,linux/arm64,linux/ppc64le', 'fedora:38']]
[fedora38, 'linux/amd64,linux/arm64,linux/ppc64le', 'fedora:38'],
[fedora39, 'linux/amd64,linux/arm64,linux/ppc64le', 'fedora:39'],
[fedora40, 'linux/amd64,linux/arm64,linux/ppc64le', 'fedora:40']]
name: Build ${{ matrix.dockerfile[0] }}
if: github.repository == 'spack/spack'
steps:

View file

@ -233,6 +233,12 @@ The OS that are currently supported are summarized in the table below:
* - Fedora Linux 38
- ``fedora:38``
- ``spack/fedora38``
* - Fedora Linux 39
- ``fedora:39``
- ``spack/fedora39``
* - Fedora Linux 40
- ``fedora:40``
- ``spack/fedora40``

View file

@ -12,9 +12,31 @@
},
"os_package_manager": "yum_amazon"
},
"fedora:40": {
"bootstrap": {
"template": "container/fedora.dockerfile",
"image": "docker.io/fedora:40"
},
"os_package_manager": "dnf",
"build": "spack/fedora40",
"final": {
"image": "docker.io/fedora:40"
}
},
"fedora:39": {
"bootstrap": {
"template": "container/fedora.dockerfile",
"image": "docker.io/fedora:39"
},
"os_package_manager": "dnf",
"build": "spack/fedora39",
"final": {
"image": "docker.io/fedora:39"
}
},
"fedora:38": {
"bootstrap": {
"template": "container/fedora_38.dockerfile",
"template": "container/fedora.dockerfile",
"image": "docker.io/fedora:38"
},
"os_package_manager": "dnf",
@ -25,7 +47,7 @@
},
"fedora:37": {
"bootstrap": {
"template": "container/fedora_37.dockerfile",
"template": "container/fedora.dockerfile",
"image": "docker.io/fedora:37"
},
"os_package_manager": "dnf",

View file

@ -1,29 +0,0 @@
{% extends "container/bootstrap-base.dockerfile" %}
{% block install_os_packages %}
RUN dnf update -y \
&& dnf 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/dnf \
&& dnf clean all
{% endblock %}