Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ ARG ARCH="amd64"
ARG OS="linux"
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:glibc
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
LABEL org.opencontainers.image.authors="The Prometheus Authors"
LABEL org.opencontainers.image.vendor="Prometheus"
LABEL org.opencontainers.image.title="snmp_exporter"
LABEL org.opencontainers.image.description="Prometheus SNMP Exporter"
LABEL org.opencontainers.image.source="https://github.com/prometheus-community/fortigate_exporter"
LABEL org.opencontainers.image.url="https://github.com/prometheus-community/fortigate_exporter"
LABEL org.opencontainers.image.documentation="https://github.com/prometheus-community/fortigate_exporter/blob/main/README.md"
LABEL org.opencontainers.image.licenses="Apache License 2.0"
LABEL io.prometheus.image.variant="busybox"

ARG ARCH="amd64"
ARG OS="linux"
Expand Down
22 changes: 22 additions & 0 deletions Dockerfile.distroless
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ARG DISTROLESS_ARCH="amd64"
FROM gcr.io/distroless/static-debian13:nonroot-${DISTROLESS_ARCH}

ARG ARCH="amd64"
ARG OS="linux"
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
LABEL org.opencontainers.image.authors="The Prometheus Authors"
LABEL org.opencontainers.image.vendor="Prometheus"
LABEL org.opencontainers.image.title="snmp_exporter"
LABEL org.opencontainers.image.description="Prometheus SNMP Exporter"
LABEL org.opencontainers.image.source="https://github.com/prometheus-community/fortigate_exporter"
LABEL org.opencontainers.image.url="https://github.com/prometheus-community/fortigate_exporter"
LABEL org.opencontainers.image.documentation="https://github.com/prometheus-community/fortigate_exporter/blob/main/README.md"
LABEL org.opencontainers.image.licenses="Apache License 2.0"
LABEL io.prometheus.image.variant="distroless"

ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/fortigate_exporter /bin/fortigate_exporter

EXPOSE 9710
ENTRYPOINT [ "/bin/fortigate_exporter" ]
Loading