Skip to content

Commit

Permalink
docker: Fix CentOS 6 build on Docker Hub (spack#24804)
Browse files Browse the repository at this point in the history
This change make yum usable again on CentOS 6
  • Loading branch information
alalazo authored Jul 9, 2021
1 parent 0edc55a commit 2a858f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions share/spack/docker/centos-6.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2a858f8

Please sign in to comment.