From 535896c825699c97f1792a89db2710d89f1a0d26 Mon Sep 17 00:00:00 2001 From: Jatin Suri Date: Tue, 24 Feb 2026 12:30:57 -0500 Subject: [PATCH] Update Dockerfile to work on CentOS/RHEL 10 --- addons/redhat/Dockerfile.ocp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/redhat/Dockerfile.ocp b/addons/redhat/Dockerfile.ocp index 038ce5ed..c2f2ba73 100644 --- a/addons/redhat/Dockerfile.ocp +++ b/addons/redhat/Dockerfile.ocp @@ -16,8 +16,9 @@ RUN yum -y update && yum -y update glibc && yum --setopt=skip_missing_names_on_i iproute \ procps-ng \ chrony \ - gpsd-minimal \ - gpsd-minimal-clients \ + # gpsd-minimal and gpsd-minimal-clients were renamed to gpsd and gpsd-clients in RHEL 10 + # try the old names first, fall back to new names if it fails + && (yum -y install gpsd-minimal gpsd-minimal-clients || yum -y install gpsd gpsd-clients) \ && yum clean all # Create symlinks for executables to match references