diff --git a/Dockerfile b/Dockerfile index e5c84c5..855272c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ ARG ARCH="amd64" ARG OS="linux" -FROM --platform=${OS}/${ARCH} alpine:3 -ARG ARCH="amd64" -ARG OS="linux" +FROM alpine:3 LABEL maintainer="The Prometheus Authors " RUN apk add smartmontools +ARG ARCH="amd64" +ARG OS="linux" COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter EXPOSE 9633 diff --git a/Makefile b/Makefile index 7734713..3591265 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # limitations under the License. # Needs to be defined before including Makefile.common to auto-generate targets -DOCKER_ARCHS ?= amd64 arm64 +DOCKER_ARCHS ?= amd64 DOCKER_REPO ?= prometheuscommunity include Makefile.common