mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
c0e4746c80
Use standard Prometheus Community build infra. * Update Go modules for new location * Update references to github URLs * Update for Go 1.17+ Signed-off-by: SuperQ <superq@gmail.com>
14 lines
402 B
Docker
14 lines
402 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:glibc
|
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
|
|
|
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
|
|
|
|
COPY smartctl_exporter.yaml /etc/smartctl_exporter.yaml
|
|
|
|
EXPOSE 9633
|
|
USER nobody
|
|
ENTRYPOINT [ "/bin/smartctl_exporter" ]
|