Skip to content

Commit

Permalink
Merge pull request #118 from rstudio/centos7
Browse files Browse the repository at this point in the history
Fix CentOS 7 builds; Use vault.centos.org on CentOS 7 for EOL
  • Loading branch information
glin authored Jul 31, 2024
2 parents 2ff7716 + 40be836 commit b08f243
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM centos:centos7
LABEL maintainer="Posit Docker <docker@posit.co>"

# Use vault.centos.org since CentOS 7 is EOL and the official mirrors are no longer available
RUN sed -i -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/*

RUN yum -y update && \
yum -y install \
fontconfig \
Expand Down

0 comments on commit b08f243

Please sign in to comment.