From 29c2f5dd4423fbeac22e23e893d8be97f7f190f2 Mon Sep 17 00:00:00 2001 From: David Randall Date: Sat, 26 Aug 2023 06:55:06 -0400 Subject: [PATCH] Reverts prometheus-community/smartctl_exporter#150 Signed-off-by: David Randall --- Dockerfile | 6 +++--- Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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