add untracked files
This commit is contained in:
35
collectd/docker/Dockerfile.bookworm
Normal file
35
collectd/docker/Dockerfile.bookworm
Normal file
@@ -0,0 +1,35 @@
|
||||
FROM debian:bookworm
|
||||
|
||||
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 libsensors5 liblzo2-2 collectd sudo btrfs-progs libatasmart4 speedtest-cli
|
||||
|
||||
RUN apt install -y smartmontools
|
||||
|
||||
RUN apt install -y wget git
|
||||
|
||||
ENV HDDTEMP_VERSION=0.2.4
|
||||
RUN wget https://github.com/slowpeek/hddtemp/archive/refs/tags/${HDDTEMP_VERSION}.tar.gz \
|
||||
&& tar xvf ${HDDTEMP_VERSION}.tar.gz && mv hddtemp-${HDDTEMP_VERSION}/hddtemp-lt /usr/sbin/hddtemp
|
||||
|
||||
RUN apt install -y gcc python3-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 && python3 setup.py build_ext && python3 setup.py install
|
||||
RUN apt remove -y gcc python-dev make
|
||||
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
|
||||
31
collectd/docker/Dockerfile.buster
Normal file
31
collectd/docker/Dockerfile.buster
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user