Files
grafana/devenv/docker/blocks/collectd/Dockerfile
T
Tobias Skarhed f3d725f400 Devenv: Add requirements.txt and versions + hashes to collectd Dockerfile (#106175)
* Add requirements.txt and version+hashes

* Update docker image
2025-06-02 09:07:18 +02:00

20 lines
534 B
Docker

FROM ubuntu:jammy
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN apt-get -y install collectd curl python3-pip
# add a fake mtab for host disk stats
ADD etc_mtab /etc/mtab
ADD collectd.conf.tpl /etc/collectd/collectd.conf.tpl
# Install Python packages
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install --require-hashes --no-cache-dir -r /tmp/requirements.txt
ADD start_container /usr/bin/start_container
RUN chmod +x /usr/bin/start_container
CMD start_container