Skip to content

Commit

Permalink
Migrate to RHEL9
Browse files Browse the repository at this point in the history
Use ubi9 as base image and include OpenStack repos
  • Loading branch information
vkmc committed Aug 15, 2024
1 parent 88dbdfb commit fc829e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --- Build the bridge
FROM registry.access.redhat.com/ubi8 AS builder
FROM registry.access.redhat.com/ubi9 AS builder

# dependencies for qpid-proton-c
COPY build/repos/opstools.repo /etc/yum.repos.d/opstools.repo
Expand All @@ -20,7 +20,7 @@ RUN make && \
mv bridge /tmp/

# --- end build, create bridge runtime layer ---
FROM registry.access.redhat.com/ubi8
FROM registry.access.redhat.com/ubi9

# dependencies for qpid-proton-c
COPY build/repos/opstools.repo /etc/yum.repos.d/opstools.repo
Expand Down
27 changes: 13 additions & 14 deletions build/repos/opstools.repo
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# CentOS-OpsTools.repo
# CentOS 9 OpenStack repos
#
# Please see http://wiki.centos.org/SpecialInterestGroup/OpsTools for more
# information
# Please see https://trunk.rdoproject.org/ and
# https://trunk.rdoproject.org/centos9-caracal/report.html for more information

[centos-opstools-testing]
name=CentOS-OpsTools - testing repo
baseurl=https://buildlogs.centos.org/centos/$releasever-stream/opstools/$basearch/collectd-5/
[delorean-caracal-testing]
name=dlrn-caracal-testing
baseurl=https://trunk.rdoproject.org/centos9-caracal/deps/latest/
enabled=1
gpgcheck=0
enabled=0
module_hotfixes=1

[centos-opstools]
name=CentOS-OpsTools - collectd
#mirrorlist=http://mirrorlist.centos.org/?arch=$basearch&release=$releasever-stream&repo=opstools-collectd-5
baseurl=http://vault.centos.org/$releasever-stream/opstools/$basearch/collectd-5/
gpgcheck=0
[centos9-opstools]
name=centos9-opstools
baseurl=http://mirror.stream.centos.org/SIGs/9-stream/opstools/$basearch/collectd-5/
enabled=1
skip_if_unavailable=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-OpsTools
gpgcheck=0
module_hotfixes=1

0 comments on commit fc829e2

Please sign in to comment.