summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build-containers.yml1
-rw-r--r--lib/spack/docs/containers.rst3
-rw-r--r--lib/spack/spack/container/images.json7
-rw-r--r--share/spack/templates/container/centos_7.dockerfile28
4 files changed, 0 insertions, 39 deletions
diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml
index 5d8c1e6cc9..2433667201 100644
--- a/.github/workflows/build-containers.yml
+++ b/.github/workflows/build-containers.yml
@@ -40,7 +40,6 @@ jobs:
# 1: Platforms to build for
# 2: Base image (e.g. ubuntu:22.04)
dockerfile: [[amazon-linux, 'linux/amd64,linux/arm64', 'amazonlinux:2'],
- [centos7, 'linux/amd64,linux/arm64,linux/ppc64le', 'centos:7'],
[centos-stream9, 'linux/amd64,linux/arm64,linux/ppc64le', 'centos:stream9'],
[leap15, 'linux/amd64,linux/arm64,linux/ppc64le', 'opensuse/leap:15'],
[ubuntu-focal, 'linux/amd64,linux/arm64,linux/ppc64le', 'ubuntu:20.04'],
diff --git a/lib/spack/docs/containers.rst b/lib/spack/docs/containers.rst
index 967afd0005..38a3847549 100644
--- a/lib/spack/docs/containers.rst
+++ b/lib/spack/docs/containers.rst
@@ -203,9 +203,6 @@ The OS that are currently supported are summarized in the table below:
* - Ubuntu 24.04
- ``ubuntu:24.04``
- ``spack/ubuntu-noble``
- * - CentOS 7
- - ``centos:7``
- - ``spack/centos7``
* - CentOS Stream9
- ``quay.io/centos/centos:stream9``
- ``spack/centos-stream9``
diff --git a/lib/spack/spack/container/images.json b/lib/spack/spack/container/images.json
index 6d3498919b..72029facea 100644
--- a/lib/spack/spack/container/images.json
+++ b/lib/spack/spack/container/images.json
@@ -89,13 +89,6 @@
"image": "quay.io/centos/centos:stream9"
}
},
- "centos:7": {
- "bootstrap": {
- "template": "container/centos_7.dockerfile"
- },
- "os_package_manager": "yum",
- "build": "spack/centos7"
- },
"opensuse/leap:15": {
"bootstrap": {
"template": "container/leap-15.dockerfile"
diff --git a/share/spack/templates/container/centos_7.dockerfile b/share/spack/templates/container/centos_7.dockerfile
deleted file mode 100644
index 2d99ecad91..0000000000
--- a/share/spack/templates/container/centos_7.dockerfile
+++ /dev/null
@@ -1,28 +0,0 @@
-{% extends "container/bootstrap-base.dockerfile" %}
-{% block install_os_packages %}
-RUN yum update -y \
- && yum install -y epel-release \
- && yum update -y \
- && yum --enablerepo epel groupinstall -y "Development Tools" \
- && yum --enablerepo epel install -y \
- curl \
- findutils \
- gcc-c++ \
- gcc \
- gcc-gfortran \
- git \
- gnupg2 \
- hostname \
- hg \
- iproute \
- make \
- patch \
- python3 \
- python3-pip \
- python3-setuptools \
- unzip \
- zstd \
- && pip3 install boto3 \
- && rm -rf /var/cache/yum \
- && yum clean all
-{% endblock %}