From 5cdde56b887d5f5880ca318a244fab02ab1a6f1f Mon Sep 17 00:00:00 2001 From: Eran Cohen Date: Mon, 25 Aug 2025 21:38:58 +0300 Subject: [PATCH] fix(build): Use public UBI repos to fix build failures Modify the Containerfile's dnf command to use the public, subscription-free UBI repositories. This prevents build failures on non-RHEL hosts that lack full RHEL entitlements. Signed-off-by: Eran Cohen --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index c47cb4fe..90cc3a87 100644 --- a/Containerfile +++ b/Containerfile @@ -14,7 +14,7 @@ WORKDIR /app-root # Install gcc - required by polyleven python package on aarch64 # (dependency of autoevals, no pre-built binary wheels for linux on aarch64) USER root -RUN dnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gcc +RUN dnf --disablerepo="*" --enablerepo="ubi-9-appstream-rpms" --enablerepo="ubi-9-baseos-rpms" install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gcc # Install uv package manager RUN pip3.12 install "uv==0.8.11" @@ -62,4 +62,4 @@ ENTRYPOINT ["python3.12", "src/lightspeed_stack.py"] LABEL vendor="Red Hat, Inc." # no-root user is checked in Konflux -USER 1001 \ No newline at end of file +USER 1001