You've already forked node_exporter
mirror of
https://github.com/prometheus/node_exporter.git
synced 2026-10-23 08:09:06 +03:00
22 lines
980 B
Docker
22 lines
980 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
|
|
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="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="busybox"
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
COPY .build/${OS}-${ARCH}/node_exporter /bin/node_exporter
|
|
|
|
EXPOSE 9100
|
|
USER nobody
|
|
ENTRYPOINT [ "/bin/node_exporter" ]
|