diff --git a/collectd/docker/Dockerfile b/collectd/docker/Dockerfile index 5cbaac2..f1da44d 100644 --- a/collectd/docker/Dockerfile +++ b/collectd/docker/Dockerfile @@ -3,13 +3,13 @@ FROM debian:bookworm ENV DEBIAN_FRONTEND=noninteractive ENV TIMEZONE=Europe/Amsterdam -RUN apt update +RUN apt update --fix-missing RUN apt dist-upgrade -y --no-install-recommends RUN echo $TIMEZONE > /etc/timezone RUN dpkg-reconfigure -f noninteractive tzdata -RUN apt install -y libsensors5 liblzo2-2 collectd sudo btrfs-progs libatasmart4 speedtest-cli +RUN apt install -y libsensors5 liblzo2-2 collectd btrfs-progs libatasmart4 speedtest-cli RUN apt install -y smartmontools @@ -30,7 +30,5 @@ RUN apt -y remove make g++ python3-dev python3-pybind11 cmake RUN apt autoremove -y RUN useradd collectd -RUN usermod -aG sudo collectd -RUN echo 'collectd ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/collectd CMD ["/usr/sbin/collectd", "-f"]