mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
380f1e96e2
Signed-off-by: Julien Francoz <julien-github@francoz.net>
14 lines
359 B
Docker
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" ]
|