From 3c5e8d4a59210392d0a75e44110f75c3ec73ef86 Mon Sep 17 00:00:00 2001
From: Sven Rebhan <srebhan@influxdata.com>
Date: Tue, 8 Jul 2025 15:01:40 +0200
Subject: [PATCH] chore: Install full setpriv command

---
 telegraf/1.35/alpine/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/telegraf/1.35/alpine/Dockerfile b/telegraf/1.35/alpine/Dockerfile
index 7a6cab4..b2ad3a8 100644
--- a/telegraf/1.35/alpine/Dockerfile
+++ b/telegraf/1.35/alpine/Dockerfile
@@ -1,7 +1,7 @@
 FROM alpine:3.22
 
 RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
-RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap && \
+RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata setpriv libcap && \
     update-ca-certificates
 
 ENV TELEGRAF_VERSION 1.35.1
-- 
GitLab