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
|
# Install required packages
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@@ -10,12 +10,15 @@ RUN apt-get update \
|
|||||||
gnupg-agent \
|
gnupg-agent \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
python3-distutils \
|
python3-distutils \
|
||||||
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
|
python3-pip \
|
||||||
&& python3 get-pip.py --prefix=/usr/local \
|
python3-full
|
||||||
&& python3 -m pip install requests \
|
|
||||||
&& pip install unidecode \
|
# Installation module necessaire pour le script python
|
||||||
|
RUN pip3 install requests --break-system-packages \
|
||||||
|
&& pip3 install unidecode --break-system-packages \
|
||||||
&& rm /entrypoint.sh
|
&& rm /entrypoint.sh
|
||||||
|
|
||||||
|
|
||||||
ADD --chmod=1755 entrypoint.sh /
|
ADD --chmod=1755 entrypoint.sh /
|
||||||
ADD freebox-monit.py /usr/local/py/
|
ADD freebox-monit.py /usr/local/py/
|
||||||
ADD telegraf.conf /etc/telegraf/
|
ADD telegraf.conf /etc/telegraf/
|
||||||
|
Reference in New Issue
Block a user