stations-monitoring (0be2186f)
Published 2025-01-14 15:45:04 +01:00 by registry
Installation
docker pull forge.eost.unistra.fr/cds/stations-monitoring:0be2186fsha256:01adc0c7074892bc58fde6cb58fa33a1ce76776bbe4859e763a99794d42880a0Image layers
| ADD alpine-minirootfs-3.20.5-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c echo 'hosts: files dns' >> /etc/nsswitch.conf # buildkit |
| RUN /bin/sh -c apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap && update-ca-certificates # buildkit |
| ENV TELEGRAF_VERSION=1.33.1 |
| RUN /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 # buildkit |
| EXPOSE map[8092/udp:{} 8094/tcp:{} 8125/udp:{}] |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["telegraf"] |
| ENV LANG=C.UTF-8 |
| ENV WORK_DIR=/opt/monitoring |
| ENV CONFIG_FILE=/opt/monitoring/config.json |
| COPY dir:261ebf8969ca0cc8003522604981c6ff6902f568664254ac7c35adb4886d29f4 in /opt/monitoring |
| WORKDIR /opt/monitoring |
| /bin/sh -c apk --no-cache add python3 py3-pip py3-dateutil py3-lxml py3-influxdb libxslt coreutils jq |
| ENTRYPOINT ["/opt/monitoring/docker-entrypoint.sh"] |
| CMD ["telegraf"] |
| LABEL org.opencontainers.image.created=2025-01-14T14:46:19Z |
| LABEL org.opencontainers.image.revision=0be2186f592e0e1e6f7055bac3f9f86d0888fd75 |
| LABEL org.opencontainers.image.source=https://forge.eost.unistra.fr/cds/stations-monitoring.git |
| LABEL org.opencontainers.image.url=https://forge.eost.unistra.fr/cds/stations-monitoring |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-01-14T14:46:19Z |
| org.opencontainers.image.revision | 0be2186f592e0e1e6f7055bac3f9f86d0888fd75 |
| org.opencontainers.image.source | https://forge.eost.unistra.fr/cds/stations-monitoring.git |
| org.opencontainers.image.url | https://forge.eost.unistra.fr/cds/stations-monitoring |
Details
2025-01-14 15:45:04 +01:00
Versions (11)
View all
Container
1
OCI / Docker
linux/amd64
103 MiB