browbeat/browbeat-containers/collectd-baremetal/Dockerfile
venkata anil ba1ff86cf0 fix centos8 for collectd
collectd installation is failing as centos8 is EOL.
We need to use centos stream for centos8.

Change-Id: I9306b8d8fcb36e0354bcdf3e3945df1d904f8e8e
2022-02-10 13:32:04 +00:00

12 lines
355 B
Docker

FROM quay.io/centos/centos:stream8
RUN dnf update -y && \
dnf clean all && \
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
dnf install -y centos-release-opstools && \
dnf install -y collectd collectd-turbostat collectd-disk
ADD config/collectd.conf /etc/collectd.conf
CMD ["collectd", "-f"]