smartctl_exporter/Dockerfile
Julien Francoz 380f1e96e2 fix Dockerfile for multi-arch
Signed-off-by: Julien Francoz <julien-github@francoz.net>
2023-08-17 23:05:52 +02:00

14 lines
359 B
Docker

ARG ARCH="amd64"
ARG OS="linux"
FROM --platform=${OS}/${ARCH} alpine:3
ARG ARCH="amd64"
ARG OS="linux"
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
RUN apk add smartmontools
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
EXPOSE 9633
USER nobody
ENTRYPOINT [ "/bin/smartctl_exporter" ]