FROM debian:buster ENV LC_ALL=C ENV DEBIAN_FRONTEND=noninteractive ENV TIMEZONE=Europe/Amsterdam RUN apt update RUN apt dist-upgrade -y --no-install-recommends RUN echo $TIMEZONE > /etc/timezone RUN dpkg-reconfigure -f noninteractive tzdata RUN apt install -y software-properties-common gpgv dirmngr psmisc wget curl python3-pip git gawk zip gperf unzip lbzip2 inetutils-ping inetutils-telnet rsync RUN pip3 install argparse RUN apt install -y libsensors5 liblzo2-2 hddtemp collectd sudo btrfs-progs libatasmart4 speedtest-cli RUN useradd collectd RUN usermod -aG sudo collectd RUN echo 'collectd ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/collectd RUN apt install -y gcc python-dev make RUN git clone https://github.com/RRZE-HPC/likwid.git RUN cd likwid && make -j && make install RUN git clone https://github.com/RRZE-HPC/pylikwid.git RUN cd pylikwid && python setup.py build_ext && python setup.py install ENV LD_LIBRARY_PATH /usr/local/lib CMD /usr/sbin/collectd -f