mirror of
https://github.com/prometheus-community/ipmi_exporter
synced 2024-12-22 22:12:34 +00:00
51af34da5b
Also restrict Docker images to amd64, until a couple of issues are sorted out.
15 lines
411 B
Docker
15 lines
411 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM debian:bullseye-slim
|
|
#FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
|
|
RUN apt-get update && apt-get install -y freeipmi
|
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
COPY .build/${OS}-${ARCH}/ipmi_exporter /bin/ipmi_exporter
|
|
|
|
EXPOSE 9290
|
|
USER nobody
|
|
ENTRYPOINT [ "/bin/ipmi_exporter" ]
|