From ae6e04bc91386ba315481fba48d101d69912808c Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Mon, 15 Jun 2026 18:10:40 -0500 Subject: [PATCH] WIP: Use yum install instead of yum update Test ./images/openstack/Dockerfile.ci --- images/openstack/Dockerfile.ci | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/images/openstack/Dockerfile.ci b/images/openstack/Dockerfile.ci index 2ccae5f9513..e12442e1c66 100644 --- a/images/openstack/Dockerfile.ci +++ b/images/openstack/Dockerfile.ci @@ -27,9 +27,14 @@ COPY --from=builder /go/src/github.com/openshift/installer/upi/openstack /var/li COPY --from=builder /go/src/github.com/openshift/installer/docs/user/openstack /var/lib/openshift-install/docs COPY --from=builder /go/src/github.com/openshift/installer/hack/openstack/test-manifests.sh /go/src/github.com/openshift/installer/scripts/openstack/manifest-tests /var/lib/openshift-install/manifest-tests +# Check if /usr/share/zoneinfo has been previously deleted +RUN if [ ! -f /usr/share/zoneinfo/zone.tab ]; then \ + yum reinstall -y --setopt=tsflags= tzdata; \ + yum clean all; rm -rf /var/cache/yum/*; \ + fi + # Install Dependendencies for tests -RUN yum update -y --setopt=tsflags= tzdata && \ - yum update -y && \ +RUN yum update -y && \ yum install --setopt=tsflags=nodocs -y \ ansible-collection-ansible-netcommon \ ansible-collection-community-general \