From 3e8a0a4c06d84523b68444caf94f49d33108226e Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Sat, 20 Dec 2025 09:19:15 -0500 Subject: [PATCH] Fix opencl-header installation The code "as is" installs opencl-headers from rhel8 because the rhel9 one leads to compilation failures. However, it immediately does a dnf -y update which upgrades the opencl package to the rhel 9 version that was being avoided. Compilation failures follow at 64% of the way through openvino's code. The fix is to get rid of the dnf -y update because the image was already updated back at the first use of dnf. --- Dockerfile.redhat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.redhat b/Dockerfile.redhat index ced877f894..e6fc2cd53b 100644 --- a/Dockerfile.redhat +++ b/Dockerfile.redhat @@ -111,8 +111,8 @@ ARG VERBOSE_LOGS=OFF ARG LTO_ENABLE=OFF # hadolint ignore=DL3041 -RUN dnf install -y https://rpmfind.net/linux/almalinux/8.10/PowerTools/x86_64/os/Packages/opencl-headers-2.2-1.20180306gite986688.el8.noarch.rpm && \ - dnf update -d6 -y && dnf install -d6 -y \ +RUN dnf install -y -d6 \ + https://vault.centos.org/centos/8-stream/PowerTools/x86_64/os/Packages/opencl-headers-2.2-1.20180306gite986688.el8.noarch.rpm \ gdb \ java-11-openjdk-devel \ tzdata-java \