Add ARM support for release binaries and Docker images #32

Closed
opened 2026-02-04 08:30:33 +01:00 by qwc · 0 comments
Owner

Currently the release pipeline only builds for linux/amd64. Adding ARM builds (at minimum linux/arm64, possibly linux/arm/v7) would make Asiakirjat easier to run on Raspberry Pis and other ARM-based servers.

What needs to change

  • Release binary: Build additional binaries for GOARCH=arm64 (and optionally arm) and attach them as release assets alongside the amd64 binary
  • Docker image: Build multi-arch images using kaniko or an alternative builder that supports --platform linux/amd64,linux/arm64

Notes

  • Not urgent — current users are on amd64. This is for future reach.
  • Go cross-compilation for ARM is straightforward (GOARCH=arm64 with CGO_ENABLED=0)
  • Multi-arch Docker images may require switching from kaniko to something like buildx, or running separate kaniko builds and combining manifests
Currently the release pipeline only builds for `linux/amd64`. Adding ARM builds (at minimum `linux/arm64`, possibly `linux/arm/v7`) would make Asiakirjat easier to run on Raspberry Pis and other ARM-based servers. ### What needs to change - **Release binary**: Build additional binaries for `GOARCH=arm64` (and optionally `arm`) and attach them as release assets alongside the amd64 binary - **Docker image**: Build multi-arch images using kaniko or an alternative builder that supports `--platform linux/amd64,linux/arm64` ### Notes - Not urgent — current users are on amd64. This is for future reach. - Go cross-compilation for ARM is straightforward (`GOARCH=arm64` with `CGO_ENABLED=0`) - Multi-arch Docker images may require switching from kaniko to something like buildx, or running separate kaniko builds and combining manifests
qwc closed this issue 2026-02-16 17:47:41 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
qwc-open/asiakirjat#32
No description provided.