mirror of
https://github.com/prometheus-community/ipmi_exporter
synced 2024-12-21 21:50:05 +00:00
d902f931c6
This is a pretty trivial fix to bring back arm64 builds and this has been tested locally as well. Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
14 lines
352 B
Docker
14 lines
352 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM --platform=${OS}/${ARCH} alpine:3
|
|
RUN apk --no-cache add 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" ]
|