ipmi_exporter/Dockerfile
Conrad Hoffmann 51af34da5b Base Docker image on Debian slim (Bullseye)
Also restrict Docker images to amd64, until a couple of issues are
sorted out.
2022-03-14 10:24:58 +01:00

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" ]