prometheus (bullseye-latest)

Published 2024-05-31 15:44:27 +02:00 by dsimon

Installation

docker pull git.d120.de/dsimon/prometheus:bullseye-latest
sha256:d590d77ae4f18a20455cf18be5da30237535b7762524339522cd06cf27bb9ed4

Image Layers

ADD file:b9a9fc37b874060c713002ae1ac220f097edd7c6576116c22bb15aad8229b1b3 in /
CMD ["bash"]
WORKDIR /app
ENV ROOT=/app
RUN /bin/sh -c apt-get --assume-yes update && apt-get --assume-yes upgrade && apt-get --assume-yes install --no-install-recommends --no-install-suggests prometheus s6 zstd # buildkit
RUN /bin/sh -c usermod --home $(pwd) prometheus && mkdir --parents ./config ./data ./default ./log ./share && mkdir --parents ./config/recording_rules ./config/alerting_rules ./config/scrape_targets ./config/alertmanager_targets && mkdir --parents ./data/agent ./data/metrics && mkdir --parents ./share/consoles ./share/console_libraries && ln --symbolic /usr/share/prometheus/web ./share/web-assets && chown --recursive root:root . && find . -type f -exec chmod 644 '{}' + && find . -type d -exec chmod 755 '{}' + && chown --recursive prometheus:prometheus ./data ./log # buildkit
COPY ./default ./default # buildkit
COPY ./prometheus.sh ./prometheus.sh # buildkit
USER prometheus:prometheus
ENTRYPOINT ["./prometheus.sh"]
Details
Container
2024-05-31 15:44:27 +02:00
0
OCI / Docker
linux/amd64
111 MiB
Versions (1) View all
bullseye-latest 2024-05-31