From 3671b94a3eeceefdd878dff4507c4397cd9e3d14 Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Mon, 23 Mar 2026 12:42:37 +0100 Subject: [PATCH] chore: add --allowerasing to konflux dnf install instruction (#416) This is an attempt to mitigate a potential issue in konflux. When not updating the base images for a while, the new packages being installed with dnf might cause conflicts, breaking our CI. With this change, in case we get such conflict, the package installed in the base image will be removed and replaced by the newer one. --- konflux.Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konflux.Containerfile b/konflux.Containerfile index 2d873014..74cab6d8 100644 --- a/konflux.Containerfile +++ b/konflux.Containerfile @@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi8/ubi@sha256:87463a8cd4ea7b3e7d066f114b64a447 ARG FACT_TAG RUN echo "Checking required FACT_TAG"; [[ "${FACT_TAG}" != "" ]] -RUN dnf install -y \ +RUN dnf install --allowerasing -y \ clang \ make \ elfutils-libelf-devel \