fix: import GPG key into keyring instead of apt trusted.gpg.d
All checks were successful
Build and push telegraf-snmp-unifi image / build-and-push-image (push) Successful in 4m3s

This commit is contained in:
dresi 2026-06-11 16:12:16 +02:00
parent 5f80f4a907
commit 9ffdc76e6a

View File

@ -8,8 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN wget -q -O - https://repos.influxdata.com/influxdata-archive.key | \ RUN wget -q -O - https://repos.influxdata.com/influxdata-archive.key | gpg --import
gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata.gpg
ENV TELEGRAF_VERSION=1.39.0 ENV TELEGRAF_VERSION=1.39.0
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \