Merge pull request #540 from elezar/fix-ppcle64-builds

Fix ppcle64 builds
This commit is contained in:
Evan Lezar 2024-06-11 14:54:03 +02:00 committed by GitHub
commit 8b9f22b6c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -17,6 +17,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
RUN yum install -y \
ca-certificates \
gcc \

@ -1 +1 @@
Subproject commit 6c8f1df7fd32cea3280cf2a2c6e931c9b3132465
Subproject commit e729d79b29e64871425796e44ef06c505c6d6762