From 1cb2dc2bdb79019eadd6fafa2f18e733426497b0 Mon Sep 17 00:00:00 2001 From: David Newhall Date: Thu, 12 Oct 2023 23:12:32 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 218c4a4..d476d4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM telegraf:1.28@sha256:45044de12342a3e6605a2519cc1b9c9b5e5da7f80bf906121155f852744425fb RUN apt update && apt install -y --no-install-recommends \ - sudo mtr-tiny lm-sensors smartmontools ipmitool nvme-cli && \ - rm -rf /var/lib/apt/lists/* && \ - echo 'telegraf ALL=NOPASSWD:/usr/sbin/smartctl *' | tee /etc/sudoers.d/telegraf && \ - echo 'telegraf ALL=NOPASSWD:/usr/sbin/nvme *' | tee -a /etc/sudoers.d/telegraf && \ - echo 'telegraf ALL=NOPASSWD:/usr/bin/ipmitool *' | tee -a /etc/sudoers.d/telegraf && \ - echo "Done." + sudo mtr-tiny lm-sensors smartmontools ipmitool nvme-cli && \ + rm -rf /var/lib/apt/lists/* && \ + echo 'telegraf ALL=NOPASSWD:/usr/sbin/smartctl *' | tee /etc/sudoers.d/telegraf && \ + echo 'telegraf ALL=NOPASSWD:/usr/sbin/nvme *' | tee -a /etc/sudoers.d/telegraf && \ + echo 'telegraf ALL=NOPASSWD:/usr/bin/ipmitool *' | tee -a /etc/sudoers.d/telegraf && \ + echo "Done." LABEL org.opencontainers.image.source="https://github.com/influxdata/telegraf" \ org.opencontainers.image.url="https://github.com/golift/telegraf-docker"