mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-25 05:34:10 -08:00
7b895d8970
* Use new promu regexp matching for platforms. * Bump to Go 1.16. * Use uclibc for Dockerfile since we don't use CGO for Linux. * Use CircleCI build parallelism. * Split Docker image test to separate CI step. Signed-off-by: Ben Kochie <superq@gmail.com>
13 lines
334 B
Docker
13 lines
334 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>"
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
COPY .build/${OS}-${ARCH}/node_exporter /bin/node_exporter
|
|
|
|
EXPOSE 9100
|
|
USER nobody
|
|
ENTRYPOINT [ "/bin/node_exporter" ]
|