From 6c1311de10754cb6bac176c883de253f4cedc0e7 Mon Sep 17 00:00:00 2001 From: dirgim Date: Wed, 4 Dec 2024 10:55:27 +0100 Subject: [PATCH] test: try fixing certificate issues Signed-off-by: dirgim rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0004ae3..d3ac539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,15 @@ ARG UMOCI_VERSION=v0.4.7 ENV POLICY_PATH="/project" -RUN curl -k -s -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm --output epel-release-latest-9.noarch.rpm && \ - rpm -Uvh epel-release-latest-9.noarch.rpm && \ +ADD https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm epel-release-latest-9.noarch.rpm + +RUN rpm -Uvh epel-release-latest-9.noarch.rpm && \ + microdnf -y upgrade \ + --refresh \ + --best \ + --nodocs \ + --noplugins \ + --setopt=install_weak_deps=0 && \ microdnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 install \ findutils \ jq \