diff --git a/Dockerfile b/Dockerfile index d2a0c9e..3b01d87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ FROM telegraf:latest -# FROM telegraf:alpine RUN apt-get update && apt-get install -y --no-install-recommends python3 lm-sensors nvme-cli smartmontools sudo python3-venv git libgl1-mesa-dev libglib2.0-0 nano # RUN apt-get update && apt-get install -y --no-install-recommends python3 ipmitool smartmontools sudo python3-venv git libgl1-mesa-dev libglib2.0-0 nano @@ -11,4 +10,3 @@ RUN pip install fusion_solar_py[captcha]@git+https://github.com/Walzen-Group/Fus RUN mkdir -p /etc/telegraf/.cache/selenium && chown -R telegraf:281 /etc/telegraf/.cache/selenium RUN echo "telegraf ALL=(ALL) NOPASSWD:/usr/sbin/smartctl" >> /etc/sudoers # RUN echo "telegraf ALL=(ALL) NOPASSWD:/usr/bin/ipmitool, /usr/sbin/smartctl" >> /etc/sudoers -# RUN apk update && apk upgrade && apk add python3 && apk add ipmitool && apk add smartmontools