diff --git a/.gitmodules b/.gitmodules index 55d6dd60..35459397 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "third_party/libnvidia-container"] path = third_party/libnvidia-container url = https://github.com/NVIDIA/libnvidia-container.git - branch = main + branch = release-1.15 diff --git a/docker/Dockerfile.rpm-yum b/docker/Dockerfile.rpm-yum index 0a04e5f1..1a429f58 100644 --- a/docker/Dockerfile.rpm-yum +++ b/docker/Dockerfile.rpm-yum @@ -20,11 +20,9 @@ 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 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-* RUN yum install -y \ ca-certificates \ diff --git a/third_party/libnvidia-container b/third_party/libnvidia-container index e729d79b..24b3f92f 160000 --- a/third_party/libnvidia-container +++ b/third_party/libnvidia-container @@ -1 +1 @@ -Subproject commit e729d79b29e64871425796e44ef06c505c6d6762 +Subproject commit 24b3f92f9dd8cfcb9b29d27db64018be3c21950c