mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Merge pull request #539 from elezar/fix-ppcle64-builds
Fix ppcle64 builds
This commit is contained in:
commit
9fde4b21df
@ -17,6 +17,15 @@
|
|||||||
ARG BASEIMAGE
|
ARG BASEIMAGE
|
||||||
FROM ${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 \
|
RUN yum install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gcc \
|
gcc \
|
||||||
|
2
third_party/libnvidia-container
vendored
2
third_party/libnvidia-container
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 6c8f1df7fd32cea3280cf2a2c6e931c9b3132465
|
Subproject commit c0e00ed9c3fe9bcacc9d025981bdad67e86a7595
|
Loading…
Reference in New Issue
Block a user