fix centos8 for collectd

collectd installation is failing as centos8 is EOL.
We need to use centos stream for centos8.

Change-Id: I9306b8d8fcb36e0354bcdf3e3945df1d904f8e8e
This commit is contained in:
venkata anil 2022-02-10 13:32:00 +00:00
parent fb4880c794
commit ba1ff86cf0
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM registry.centos.org/centos:8 FROM quay.io/centos/centos:stream8
RUN dnf update -y && \ RUN dnf update -y && \
dnf clean all && \ dnf clean all && \

View File

@ -1,4 +1,4 @@
FROM registry.centos.org/centos:8 FROM quay.io/centos/centos:stream8
RUN dnf update -y && \ RUN dnf update -y && \
dnf clean all && \ dnf clean all && \

View File

@ -1,4 +1,4 @@
FROM registry.centos.org/centos:8 FROM quay.io/centos/centos:stream8
RUN dnf clean all && \ RUN dnf clean all && \
dnf group install -y "Development Tools" && \ dnf group install -y "Development Tools" && \
@ -11,7 +11,8 @@ RUN dnf clean all && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install pyrabbit && \ pip3 install pyrabbit && \
dnf install -y libdbi-dbd-mysql collectd-dbi && \ dnf install -y libdbi-dbd-mysql collectd-dbi && \
dnf install -y centos-release-openstack-train && \ dnf install -y centos-release-openstack-ussuri && \
dnf config-manager --set-enabled powertools && \
dnf install -y openvswitch libibverbs && \ dnf install -y openvswitch libibverbs && \
dnf install -y passwd && \ dnf install -y passwd && \
dnf install -y ceph-common && \ dnf install -y ceph-common && \