Files
uzurka 654ca31670
All checks were successful
Docker Build / Build Docker image (push) Successful in 13m17s
Rolled back the telegram version
2023-08-28 20:03:16 +02:00

23 lines
628 B
Docker

FROM telegraf:1.27.1
# 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 \
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python3 get-pip.py --prefix=/usr/local \
&& python3 -m pip install requests \
&& 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"]