summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/spack/docker/centos-6.dockerfile3
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 \