stations-monitoring (0b20ff93)
Published 2025-01-15 15:10:50 +01:00 by registry
Installation
docker pull forge.eost.unistra.fr/cds/stations-monitoring:0b20ff93sha256:38fa64269e29ffb8a6019ff1042024d6cc1f8c054377235d0248c469d32c95edImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1736726400' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends iputils-ping snmp procps lm-sensors libcap2-bin && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c set -ex && mkdir ~/.gnupg; echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; for key in 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E ; do gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys "$key" ; done # buildkit |
| ENV TELEGRAF_VERSION=1.33.1 |
| RUN /bin/sh -c ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='amd64';; arm64) ARCH='arm64';; armhf) ARCH='armhf';; armel) ARCH='armel';; *) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; esac && wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb.asc && wget --no-verbose https://dl.influxdata.com/telegraf/releases/telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && gpg --batch --verify telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb.asc telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && dpkg -i telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && rm -f telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb* # 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 |
| ENV DEBIAN_FRONTEND=noninteractive |
| COPY dir:10bde7ff905b5f1e29aa7bd23119c9d27b2e31bc363f1424fe8dda96c874b0cf in /opt/monitoring |
| WORKDIR /opt/monitoring |
| /bin/sh -c apt update && apt install -y python3-lxml python3-aiohttp python3-dateutil python3-influxdb coreutils jq |
| CMD ["telegraf"] |
| LABEL org.opencontainers.image.created=2025-01-15T14:11:45Z |
| LABEL org.opencontainers.image.revision=0b20ff93ff6bcce11fc7c9dc0e10782368169573 |
| 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-15T14:11:45Z |
| org.opencontainers.image.revision | 0b20ff93ff6bcce11fc7c9dc0e10782368169573 |
| 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-15 15:10:50 +01:00
Versions (11)
View all
Container
1
OCI / Docker
linux/amd64
208 MiB