Open arnaubennassar opened 4 years ago
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
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.
Out of the box support for ARM would be really awesome. Maybe this helps: https://docs.drone.io/pipeline/configuration/#multiple-platforms
Yes, that helps. Happy to accept PRs making use of this.
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
I'd love to run this container on my SBCs (raspberries and similar devices). Could you build the containers for ARM and ARM64 architectures?