Merge pull request #77 from prometheus-community/superq/fixup_arm

Fix up multi-platform container builds
This commit is contained in:
Ben Kochie 2022-10-03 21:06:09 +02:00 committed by GitHub
commit 7ec38ac5bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
ARG ARCH="amd64" ARG ARCH="amd64"
ARG OS="linux" ARG OS="linux"
FROM ${ARCH}/alpine:3 FROM --platform ${OS}/${ARCH} alpine:3
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