Image telegraf 1.29.2 + dépendance pip3
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM telegraf:1.27.1
|
||||
FROM telegraf:1.29.2
|
||||
|
||||
# Install required packages
|
||||
RUN apt-get update \
|
||||
@@ -10,12 +10,15 @@ RUN apt-get update \
|
||||
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 \
|
||||
python3-pip \
|
||||
python3-full
|
||||
|
||||
# Installation module necessaire pour le script python
|
||||
RUN pip3 install requests --break-system-packages \
|
||||
&& pip3 install unidecode --break-system-packages \
|
||||
&& rm /entrypoint.sh
|
||||
|
||||
|
||||
ADD --chmod=1755 entrypoint.sh /
|
||||
ADD freebox-monit.py /usr/local/py/
|
||||
ADD telegraf.conf /etc/telegraf/
|
||||
|
Reference in New Issue
Block a user