Description
Request for Multi-Arch Docker Image (Including ARM Support)
Description
Hi Threema Team,
First of all, thank you for your great work on Threema Web!
I noticed that the official Docker image on Docker Hub is currently only available for amd64
. It would be extremely helpful if a multi-arch image could be provided, including support for arm64
(and ideally arm/v7
).
Why is Multi-Arch Important?
-
Raspberry Pi & ARM Servers Are Becoming More Popular
Many users, especially home server enthusiasts and small businesses, rely on energy-efficient ARM devices such as the Raspberry Pi or ARM-based servers (e.g., Ampere Altra or AWS Graviton). A multi-arch image would allow Threema Web to run on these devices without requiring manual adjustments. -
Cross-Platform Support Makes Deployment Easier
Providing a multi-arch image ensures that Threema Web can be deployed seamlessly across a variety of environments—whether on a traditional x86 server or an ARM-based home server. -
Docker Natively Supports Multi-Arch Builds
With BuildKit anddocker buildx
, creating and publishing multi-arch images has become easier than ever. The additional effort required to enable multi-arch support is relatively small. -
Future-Proofing
The industry is shifting more and more towards ARM architectures—whether through the success of Apple’s M1/M2/M3 chips or the increasing adoption of ARM in data centers. A multi-arch image would make Threema Web more accessible in the long run.
Proposed Solution
If you’re not already using docker buildx
, modifying the CI/CD pipeline could help generate a multi-arch image. A simple example of a multi-arch build using docker buildx
would be:
docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t threema/threema-web:latest --push .
Alternatively, a community-friendly approach could be optimizing the Dockerfile so that users can easily build for ARM platforms themselves if an official multi-arch image is not feasible at the moment.
I (along with many other ARM users) would greatly appreciate it if you could consider this improvement!
Thank you! 😎