From 476a265c8571dd3cf7fd8604b9d69ff837653d03 Mon Sep 17 00:00:00 2001 From: Sunidhi-Gaonkar1 Date: Tue, 13 Jan 2026 14:52:42 +0530 Subject: [PATCH] Updated onnx patch to update gpg-key version. --- .../onnxruntime_backend.patch | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/t/triton-inference-server/onnxruntime_backend.patch b/t/triton-inference-server/onnxruntime_backend.patch index d7d90c518a..58fe85e5e6 100644 --- a/t/triton-inference-server/onnxruntime_backend.patch +++ b/t/triton-inference-server/onnxruntime_backend.patch @@ -23,35 +23,34 @@ index bf374cd..c53c6b9 100644 COMMAND docker create --name onnxruntime_backend_ort ${TRITON_ONNXRUNTIME_DOCKER_IMAGE} COMMAND rm -fr onnxruntime diff --git a/tools/gen_ort_dockerfile.py b/tools/gen_ort_dockerfile.py -index 13f38ac..7f8447d 100755 +index 13f38ac..4f5071c 100755 --- a/tools/gen_ort_dockerfile.py +++ b/tools/gen_ort_dockerfile.py -@@ -126,26 +126,33 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 +@@ -126,26 +126,32 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 df += """ # The manylinux container defaults to Python 3.7, but some feature installation # requires a higher version. -ARG PYVER=3.12 -ENV PYTHONPATH=/opt/python/v -RUN ln -sf /opt/python/cp${PYVER/./}* ${PYTHONPATH} - + -ENV PYBIN=${PYTHONPATH}/bin -ENV PYTHON_BIN_PATH=${PYBIN}/python${PYVER} \ - PATH=${PYBIN}:${PATH} +RUN yum install -y wget && \ -+ dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm \ -+ https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm \ ++ dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-gpg-keys-9.0-26.el9.noarch.rpm \ ++ https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-stream-repos-9.0-26.el9.noarch.rpm \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ + dnf config-manager --set-enabled crb &&\ + dnf install gperf libarchive-devel numactl-devel readline-devel libusb patch -y && \ -+ dnf remove -y centos-gpg-keys-9.0-24.el9.noarch centos-stream-repos-9.0-24.el9.noarch - ++ dnf remove -y centos-gpg-keys-9.0-26.el9.noarch centos-stream-repos-9.0-26.el9.noarch + RUN yum install -y \\ ca-certificates \\ - curl \\ git \\ gnupg \\ - gnupg1 \ -+ gnupg1 \\ openssl-devel \\ - python3-pip \ + python3.12 \\ @@ -62,7 +61,7 @@ index 13f38ac..7f8447d 100755 + cmake \\ + g++ \\ zip - + -RUN pip3 install patchelf==0.17.2 +RUN ln -sf $(which python3.12) /usr/bin/python3 && ln -sf $(which pip3.12) /usr/bin/pip3 && ln -sf $(which pip3.12) /usr/bin/pip +RUN pip3 install patchelf==0.17.2 cmake packaging wheel @@ -70,4 +69,3 @@ index 13f38ac..7f8447d 100755 """ else: if os.getenv("CCACHE_REMOTE_ONLY") and os.getenv("CCACHE_REMOTE_STORAGE"): -