telegraf-docker (latest)

Published 2024-04-02 12:33:16 +02:00 by sebclem

Installation

docker pull git.sebclem.fr/sebclem/telegraf-docker:latest
sha256:49aac1389371ede34a737969f05df0b53c082d8b67184ebf82e981973f68f1d6

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
/bin/sh -c echo 'hosts: files dns' >> /etc/nsswitch.conf
/bin/sh -c apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap && update-ca-certificates
ENV TELEGRAF_VERSION=1.30.0
/bin/sh -c ARCH= && case "$(apk --print-arch)" in x86_64) ARCH='amd64';; aarch64) ARCH='arm64';; *) echo "Unsupported architecture: $(apk --print-arch)"; exit 1;; esac && set -ex && mkdir ~/.gnupg; echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; apk add --no-cache --virtual .build-deps wget gnupg tar && for key in 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E ; do gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys "$key" ; done && wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_linux_${ARCH}.tar.gz.asc && wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_linux_${ARCH}.tar.gz && gpg --batch --verify telegraf-${TELEGRAF_VERSION}_linux_${ARCH}.tar.gz.asc telegraf-${TELEGRAF_VERSION}_linux_${ARCH}.tar.gz && mkdir -p /usr/src /etc/telegraf && tar -C /usr/src -xzf telegraf-${TELEGRAF_VERSION}_linux_${ARCH}.tar.gz && mv /usr/src/telegraf*/etc/telegraf/telegraf.conf /etc/telegraf/ && mkdir /etc/telegraf/telegraf.d && cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && gpgconf --kill all && rm -rf *.tar.gz* /usr/src /root/.gnupg && apk del .build-deps && addgroup -S telegraf && adduser -S telegraf -G telegraf && chown -R telegraf:telegraf /etc/telegraf
EXPOSE 8092/udp 8094 8125/udp
COPY file:f41cb64129e03c46523c3acd2da77376a68d9785d775faf0d359051c20b4f1bf in /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["telegraf"]
RUN /bin/sh -c apk add --no-cache py3-pip # buildkit
RUN /bin/sh -c pip3 install --break-system-packages requests Unidecode huawei-lte-api # buildkit
RUN /bin/sh -c addgroup -g 1000 brog # buildkit
RUN /bin/sh -c addgroup telegraf brog # buildkit

Labels

Key Value
org.opencontainers.image.created 2024-04-02T10:32:29.982Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 0241e98f6dc84ce1e839b3c1e00944d5ca316962
org.opencontainers.image.source https://git.sebclem.fr/sebclem/telegraf-docker
org.opencontainers.image.title telegraf-docker
org.opencontainers.image.url https://git.sebclem.fr/sebclem/telegraf-docker
org.opencontainers.image.version 1.0.0
Details
Container
2024-04-02 12:33:16 +02:00
176
OCI / Docker
linux/amd64
97 MiB
Versions (3) View all
1.0 2024-04-02
latest 2024-04-02
1.0.0 2024-04-02