From 5f80f4a907f1dcbfcee069cab1b28ead5675c0cd Mon Sep 17 00:00:00 2001 From: dresi Date: Thu, 11 Jun 2026 16:07:35 +0200 Subject: [PATCH 1/2] fix: use correct influxdata-archive.key for GPG verification --- telegraf-snmp-unifi/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegraf-snmp-unifi/Dockerfile b/telegraf-snmp-unifi/Dockerfile index 88e158f..a6c3e07 100644 --- a/telegraf-snmp-unifi/Dockerfile +++ b/telegraf-snmp-unifi/Dockerfile @@ -8,7 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN wget -q -O - https://repos.influxdata.com/influxdata-archive_compat.key | \ +RUN wget -q -O - https://repos.influxdata.com/influxdata-archive.key | \ gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata.gpg ENV TELEGRAF_VERSION=1.39.0 -- 2.45.2 From 9ffdc76e6a5fb29208f4447d0685d473ae8b72b9 Mon Sep 17 00:00:00 2001 From: dresi Date: Thu, 11 Jun 2026 16:12:16 +0200 Subject: [PATCH 2/2] fix: import GPG key into keyring instead of apt trusted.gpg.d --- telegraf-snmp-unifi/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/telegraf-snmp-unifi/Dockerfile b/telegraf-snmp-unifi/Dockerfile index a6c3e07..ab6c5a5 100644 --- a/telegraf-snmp-unifi/Dockerfile +++ b/telegraf-snmp-unifi/Dockerfile @@ -8,8 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN wget -q -O - https://repos.influxdata.com/influxdata-archive.key | \ - gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata.gpg +RUN wget -q -O - https://repos.influxdata.com/influxdata-archive.key | gpg --import ENV TELEGRAF_VERSION=1.39.0 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \ -- 2.45.2