From 9b86c13c0479ff399a7bb5cf6f7aad26b17a1d92 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 25 Aug 2023 10:21:09 +0200 Subject: [PATCH] build: use lower version for dependencies if repositories are broken Some packages have dependencies on other repositories. On occasion these repositories seem to be out-of-sync. In that case, install updates with an older version, instead of erroring out. Signed-off-by: Niels de Vos --- deploy/cephcsi/image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 741b6716851..57dfb239b01 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} as updated_base RUN dnf config-manager --disable \ tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true -RUN dnf -y update \ +RUN dnf -y update --nobest \ && dnf clean all \ && rm -rf /var/cache/yum