prometheusmetricsnode-metricsprocfsprometheus-exportersystem-informationhost-metricssystem-metricsmachine-metrics
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.0 KiB
24 lines
1.0 KiB
ARG DISTROLESS_ARCH="amd64"
|
|
|
|
# Use DISTROLESS_ARCH for base image selection (handles armv7->arm mapping).
|
|
FROM gcr.io/distroless/static-debian13:nonroot-${DISTROLESS_ARCH}
|
|
# Base image sets USER to 65532:65532 (nonroot user).
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
|
|
LABEL org.opencontainers.image.authors="The Prometheus Authors"
|
|
LABEL org.opencontainers.image.vendor="Prometheus"
|
|
LABEL org.opencontainers.image.title="node_exporter"
|
|
LABEL org.opencontainers.image.description="Prometheus exporter for hardware and OS metrics exposed by *NIX kernels"
|
|
LABEL org.opencontainers.image.source="https://github.com/prometheus/node_exporter"
|
|
LABEL org.opencontainers.image.url="https://github.com/prometheus/node_exporter"
|
|
LABEL org.opencontainers.image.documentation="https://github.com/prometheus/node_exporter"
|
|
LABEL org.opencontainers.image.licenses="Apache License 2.0"
|
|
LABEL io.prometheus.image.variant="distroless"
|
|
|
|
COPY LICENSE NOTICE /
|
|
COPY .build/${OS}-${ARCH}/node_exporter /bin/node_exporter
|
|
|
|
EXPOSE 9100
|
|
ENTRYPOINT [ "/bin/node_exporter" ]
|
|
|