Linux / System / Add Support for Targeting Arbitrary Machine Architectures #1128
Labels
enhancement
New features, or improvements to existing features.
linux
The issue relates Linux support.
What is the problem or limitation you are having?
Building a linux system package is currently limited to the architecture of the machine building the package. So, an
x86_64
machine can only build packages forx86_64
. A likely desired scenario is building foraarch64/arm64
onx86_64
.ref: #1106 (comment)
Describe the solution you'd like
The linux system package build process already supports targeting arbitrary distros with Docker; we should extend this to support arbitrary architectures via the
buildx
Docker builder.https://docs.docker.com/build/building/multi-platform/
Describe alternatives you've considered
buildx
uses QEMU to emulate other arches; so, a VM for the desired arch can be manually created and used to build an app.Additional context
No response
The text was updated successfully, but these errors were encountered: