diff --git a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu index 47f95be22c..989651d242 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -137,7 +137,17 @@ USER 0 WORKDIR /opt/app-root/bin # Install useful OS packages -RUN dnf install -y jq git-lfs libsndfile && dnf clean all && rm -rf /var/cache/dnf +RUN /bin/bash <<'EOF' +set -Eeuxo pipefail +PACKAGES=( + jq git-lfs libsndfile + # provides envsubst which is required by run-nginx.sh + gettext +) +dnf install -y "${PACKAGES[@]}" +dnf clean all +rm -rf /var/cache/dnf +EOF # wait for rpm-base stage (rpm builds for ppc64le and s390x) COPY --from=rpm-base /tmp/control /dev/null