Files
freebox-exporter-telegraf/Dockerfile
Uzurka b87f9b7f8a
Some checks failed
Docker Build / Build Docker image (push) Failing after 2m17s
Actualiser Dockerfile
2023-08-28 19:55:56 +02:00

22 lines
544 B
Docker

FROM telegraf:latest
# Install required packages
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
python3-distutils \
python3-pip \
&& python3 -m pip install requests \
&& python3 -m pip install unidecode \
&& rm /entrypoint.sh
ADD --chmod=1755 entrypoint.sh /
ADD freebox-monit.py /usr/local/py/
ADD telegraf.conf /etc/telegraf/
ENTRYPOINT ["/entrypoint.sh"]