Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Add support for ARM devices #112

Open
arnaubennassar opened this issue Mar 28, 2020 · 5 comments
Open

Add support for ARM devices #112

arnaubennassar opened this issue Mar 28, 2020 · 5 comments

Comments

@arnaubennassar
Copy link

I'd love to run this container on my SBCs (raspberries and similar devices).
Could you build the containers for ARM and ARM64 architectures?

@metalmatze
Copy link
Owner

In the releases page, you can find binaries pre-build for various architectures. It should essentially be a curl to get the binary and then build the container for your architecture. I hope that's easy enough, as I currently have no plans to build multi-arch containers.
https://github.com/metalmatze/alertmanager-bot/releases/tag/0.4.2

@MatteoManzoni
Copy link

First of all thank you metalmatze for the great work.

@arnaubennassar, with this 2 command you can dynamically fetch the latest release of the (linux) arm binary (the jq dependency is optional, grep+cut+trim can work just fine).

LATEST="$(curl https://api.github.com/repos/metalmatze/alertmanager-bot/releases/latest | jq -r .tag_name)"
wget "https://github.com/metalmatze/alertmanager-bot/releases/download/$LATEST/alertmanager-bot-$LATEST-linux-arm" -O /alertmanager-bot

I use it in my kubernetes deployment to keep the binary always up to date.

@alex-voigt
Copy link

Out of the box support for ARM would be really awesome. Maybe this helps: https://docs.drone.io/pipeline/configuration/#multiple-platforms

@metalmatze
Copy link
Owner

Yes, that helps.
Happy to accept PRs making use of this.

@bohdantverdyi
Copy link

I builded and pushed ARM64 0.4.2 version to my docker hub. Fully works on arm

Docker Hub Image:
bohdantverdyi/alertmanager-bot-arm:0.4.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants