smartctl_exporter/Dockerfile

15 lines
334 B
Text
Raw Permalink Normal View History

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