ba1ff86cf0
collectd installation is failing as centos8 is EOL. We need to use centos stream for centos8. Change-Id: I9306b8d8fcb36e0354bcdf3e3945df1d904f8e8e
12 lines
355 B
Docker
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"]
|