From 430b5f5d6544c3b412e2c422192889012ef46ecf Mon Sep 17 00:00:00 2001 From: "A. Pervaiz" <77356768+arooshap@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:31:36 +0200 Subject: [PATCH] Update Dockerfile --- docker/fetch-crl/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docker/fetch-crl/Dockerfile b/docker/fetch-crl/Dockerfile index abc5fe78a..6f2897887 100644 --- a/docker/fetch-crl/Dockerfile +++ b/docker/fetch-crl/Dockerfile @@ -1,9 +1,8 @@ FROM registry.cern.ch/cmsweb/pypi/alma-base:alma9-20240305 -RUN dnf -y update && dnf -y install epel-release \ - dnf -y install fetch-crl ca-certificates - +RUN dnf -y update && dnf -y install epel-release && dnf -y install wget +RUN wget https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/f/fetch-crl-3.0.22-1.el9.noarch.rpm && \ + dnf -y install ./fetch-crl-3.0.22-1.el9.noarch.rpm && \ + rm -f fetch-crl-3.0.22-1.el9.noarch.rpm COPY update-crl.sh /usr/local/bin/update-crl.sh RUN chmod +x /usr/local/bin/update-crl.sh - CMD ["update-crl.sh"] -