From 6eeed6256e487d636e6534afb30c6360a9b87b99 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Tue, 27 Aug 2024 12:54:31 +0200 Subject: [PATCH] Add redhat-stage.yaml rpminspect config file. We need this to test rpminspect against staging Brew. --- Dockerfile.rhel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile.rhel b/Dockerfile.rhel index 574087a..4349e83 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -44,6 +44,11 @@ RUN dnf -y update &&\ "annobin-annocheck >= 12.59" \ && dnf clean all +# Prepare the configuration file to run rpminspect against Brew stage. +RUN cp /usr/share/rpminspect/redhat.yaml /usr/share/rpminspect/redhat-stage.yaml && \ + sed -i 's,brewhub.engineering,brewhub.stage.engineering,g' /usr/share/rpminspect/redhat-stage.yaml && \ + sed -i 's,download.devel.redhat.com,brewweb.stage.engineering.redhat.com,g' /usr/share/rpminspect/redhat-stage.yaml + RUN freshclam COPY *.sh *.py /usr/local/bin/