Skip to content

Commit

Permalink
Only enable the CentOS 9 opstools repo
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Feb 5, 2025
1 parent 9776dcd commit 9cdc8c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM registry.access.redhat.com/ubi9 AS builder

# dependencies for qpid-proton-c
COPY build/repos/centos9-caracal.repo /etc/yum.repos.d/centos9-caracal.repo
COPY build/repos/opstools.repo /etc/yum.repos.d/opstools.repo

# redhat-rpm-config is required to provide hardening compiling instructions
# (such as /usr/lib/rpm/redhat/redhat-hardened-cc1) even though we're not
Expand All @@ -23,7 +23,7 @@ RUN make && \
FROM registry.access.redhat.com/ubi9

# dependencies for qpid-proton-c
COPY build/repos/centos9-caracal.repo /etc/yum.repos.d/centos9-caracal.repo
COPY build/repos/opstools.repo /etc/yum.repos.d/opstools.repo

RUN dnf install qpid-proton-c --setopt=tsflags=nodocs -y && \
dnf clean all && \
Expand Down
18 changes: 0 additions & 18 deletions build/repos/centos9-caracal.repo

This file was deleted.

9 changes: 9 additions & 0 deletions build/repos/opstools.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CentOS 9 Opstools repos
#

[centos9-opstools]
name=centos9-opstools
baseurl=http://mirror.stream.centos.org/SIGs/9-stream/opstools/$basearch/collectd-5/
enabled=1
gpgcheck=0
module_hotfixes=1

0 comments on commit 9cdc8c0

Please sign in to comment.