Cross compilation ready Dockerfile (for arm
images)
#14559
Labels
@ Build
CMake, build scripts, official builds, compiler and linker errors
Feature request
Issues that request the addition or enhancement of a feature
Follows #14230
Problem
Currently the image built by the CI only works on
amd64
architecture, GitHub Actions doesn't provide ARM runners to build a ARM images natively.ARM images would be pretty useful for RasberryPI servers, and there are a lot of other platforms supported by Alpine which could benefit from an official image.
Solutions
There are three ways to build ARM images:
While cross compilation is easy when it comes to Rust or Go, it's a bit harder for C/C++.
There is this project by a Docker employee which makes things a bit easier: https://github.com/tonistiigi/xx
Alternatives
Do nothing, leave people on ARM hardware build the image themselves.
Additional context
No response
The text was updated successfully, but these errors were encountered: