Skip to content

Commit

Permalink
Merge pull request #186 from mnaser/bring-back-arm64
Browse files Browse the repository at this point in the history
fix: bring back aarch64 builds
  • Loading branch information
bitfehler authored Mar 18, 2024
2 parents 0401ab9 + d902f93 commit 6e4076e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ARCH="amd64"
ARG OS="linux"
FROM alpine:3
FROM --platform=${OS}/${ARCH} alpine:3
RUN apk --no-cache add freeipmi
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
.PHONY: all
all: precheck style unused build test

#DOCKER_ARCHS ?= amd64 arm64
DOCKER_ARCHS ?= amd64
DOCKER_ARCHS ?= amd64 arm64
DOCKER_IMAGE_NAME ?= ipmi-exporter
DOCKER_REPO ?= prometheuscommunity

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ executable in `$GOPATH/bin`:
You can build a Docker container with the included `docker` make target:

make promu
promu crossbuild -p linux/amd64
promu crossbuild -p linux/amd64 -p linux/arm64
make docker

This will not even require Go tooling on the host. See the included [docker
Expand Down

0 comments on commit 6e4076e

Please sign in to comment.