diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-07-09 17:45:46 +0200 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2021-09-21 16:58:41 -0700 |
commit | 073c92d526949d8f91b6f556456cf89c649f188d (patch) | |
tree | 022c7ad1d3f5be3ec1073499d31804f1fe179b46 | |
parent | 0e85d7011eb21e17252c114141531be380d38ed3 (diff) | |
download | spack-073c92d526949d8f91b6f556456cf89c649f188d.tar.gz spack-073c92d526949d8f91b6f556456cf89c649f188d.tar.bz2 spack-073c92d526949d8f91b6f556456cf89c649f188d.tar.xz spack-073c92d526949d8f91b6f556456cf89c649f188d.zip |
docker: Fix CentOS 6 build on Docker Hub (#24804)
This change make yum usable again on CentOS 6
-rw-r--r-- | share/spack/docker/centos-6.dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/spack/docker/centos-6.dockerfile b/share/spack/docker/centos-6.dockerfile index 1ba58d66af..f192c54427 100644 --- a/share/spack/docker/centos-6.dockerfile +++ b/share/spack/docker/centos-6.dockerfile @@ -9,6 +9,9 @@ ENV DOCKERFILE_BASE=centos \ CURRENTLY_BUILDING_DOCKER_IMAGE=1 \ container=docker +# Make yum usable again with CentOS 6 +RUN curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo + RUN yum update -y \ && yum install -y epel-release \ && yum update -y \ |