smartctl_exporter/Dockerfile
2022-10-05 13:53:19 +02:00

14 lines
359 B
Docker

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