-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathDockerfile.distroless
More file actions
22 lines (19 loc) · 1.01 KB
/
Dockerfile.distroless
File metadata and controls
22 lines (19 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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" ]