mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-12-21 02:21:55 +01:00
c9b4f52ec6
Remove the old yaml config and usage. Signed-off-by: SuperQ <superq@gmail.com>
14 lines
342 B
Docker
14 lines
342 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM ${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" ]
|