mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
Signed-off-by: David Randall <David@NiceGuyIT.biz>
This commit is contained in:
parent
784061630a
commit
29c2f5dd44
2 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
ARG ARCH="amd64"
|
ARG ARCH="amd64"
|
||||||
ARG OS="linux"
|
ARG OS="linux"
|
||||||
FROM --platform=${OS}/${ARCH} alpine:3
|
FROM alpine:3
|
||||||
ARG ARCH="amd64"
|
|
||||||
ARG OS="linux"
|
|
||||||
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
||||||
|
|
||||||
RUN apk add smartmontools
|
RUN apk add smartmontools
|
||||||
|
|
||||||
|
ARG ARCH="amd64"
|
||||||
|
ARG OS="linux"
|
||||||
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
|
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
|
||||||
|
|
||||||
EXPOSE 9633
|
EXPOSE 9633
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Needs to be defined before including Makefile.common to auto-generate targets
|
# Needs to be defined before including Makefile.common to auto-generate targets
|
||||||
DOCKER_ARCHS ?= amd64 arm64
|
DOCKER_ARCHS ?= amd64
|
||||||
DOCKER_REPO ?= prometheuscommunity
|
DOCKER_REPO ?= prometheuscommunity
|
||||||
|
|
||||||
include Makefile.common
|
include Makefile.common
|
||||||
|
|
Loading…
Reference in a new issue