Merge pull request #156 from NiceGuyIT/fix/revert-pr150

Revert "fix Dockerfile for multi-arch"
This commit is contained in:
David Randall 2023-08-26 07:17:23 -04:00 committed by GitHub
commit 8ab045d1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 <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

View file

@ -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