Skip to content

Add arm64 to DOCKER_ARCHS for multi-arch image builds - #368

Open
sulaimantok wants to merge 1 commit into
prometheus-community:masterfrom
sulaimantok:feat/arm64-docker-image
Open

Add arm64 to DOCKER_ARCHS for multi-arch image builds#368
sulaimantok wants to merge 1 commit into
prometheus-community:masterfrom
sulaimantok:feat/arm64-docker-image

Conversation

@sulaimantok

Copy link
Copy Markdown

Description

The published Docker image on Docker Hub is currently amd64-only, even though promu already successfully cross-compiles the binary for linux/arm64.

This PR simply adds arm64 to DOCKER_ARCHS in the Makefile so that the published multi-arch Docker image includes it. This will allow the exporter to run natively on ARM64 nodes (such as Ampere Altra or Raspberry Pi clusters) without relying on slow QEMU emulation or failing with exec format error.

Testing done

  • Verified locally: Cross-compiled using promu crossbuild and successfully built the image natively on an ARM64 host.
  • Verified architecture via docker inspect.
  • The smartctl_exporter binary starts and runs correctly inside the ARM64 container.

Signed-off-by: Sulaiman Al farisi <23329919+sulaimantok@users.noreply.github.com>
@mnaser

mnaser commented Jul 22, 2026

Copy link
Copy Markdown

My team ran into this and pushed this as well:

#366

Would love to get traction on this or the other, regardless.

This was referenced Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants