Merge branch 'fix-libnvidia-container0-url' into 'main'

Use stable repo URL directly

See merge request nvidia/container-toolkit/container-toolkit!465
This commit is contained in:
Evan Lezar 2023-08-10 14:31:06 +00:00 committed by Evan Lezar
parent 6b8589dcb4
commit a569e96065

View File

@ -66,7 +66,7 @@ ARG PACKAGE_VERSION
ARG TARGETARCH ARG TARGETARCH
ENV PACKAGE_ARCH ${TARGETARCH} ENV PACKAGE_ARCH ${TARGETARCH}
ARG LIBNVIDIA_CONTAINER_REPO="https://nvidia.github.io/libnvidia-container" ARG LIBNVIDIA_CONTAINER_REPO="https://nvidia.github.io/libnvidia-container/stable"
ARG LIBNVIDIA_CONTAINER0_VERSION ARG LIBNVIDIA_CONTAINER0_VERSION
RUN if [ "${PACKAGE_ARCH}" = "arm64" ]; then \ RUN if [ "${PACKAGE_ARCH}" = "arm64" ]; then \
curl -L ${LIBNVIDIA_CONTAINER_REPO}/${PACKAGE_DIST}/${PACKAGE_ARCH}/libnvidia-container0_${LIBNVIDIA_CONTAINER0_VERSION}_${PACKAGE_ARCH}.deb \ curl -L ${LIBNVIDIA_CONTAINER_REPO}/${PACKAGE_DIST}/${PACKAGE_ARCH}/libnvidia-container0_${LIBNVIDIA_CONTAINER0_VERSION}_${PACKAGE_ARCH}.deb \