Skip to content

Commit

Permalink
Merge pull request #269 from elezar/fix-ppcle64-builds
Browse files Browse the repository at this point in the history
Use archived package repo for centos:stream8
  • Loading branch information
elezar committed Jun 11, 2024
2 parents 6c8f1df + 17fd57a commit e729d79
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mk/Dockerfile.centos
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
ARG BASEIMAGE
FROM ${BASEIMAGE}

# centos:stream8 is EOL.
# We switch to the vault repositories for this base image.
ARG BASEIMAGE
RUN if [ "${BASEIMAGE}" = "quay.io/centos/centos:stream8" ]; then \
sed -i -e "s|mirrorlist=|#mirrorlist=|g" \
-e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" \
/etc/yum.repos.d/CentOS-Stream-*; \
fi

SHELL ["/bin/bash", "-c"]

ARG OS_VERSION
Expand Down

0 comments on commit e729d79

Please sign in to comment.