tianocore / containers

Repository to maintain and manage edk2 containers
Other
23 stars 27 forks source link

Ubuntu-22: Add initial support for multi-platform builds #92

Closed ghost closed 1 month ago

ghost commented 6 months ago

Description

When running on AArch64 (arm64) systems, it would be nice to be able to run native Docker containers: with Apple, ASRock Rack and ADLINK selling fast Arm computers nowadays, more and more people will be running on Arm.

Add initial support for multi-platform builds:

  1. Update the Ubuntu-22 Dockerfile to handle both amd64 and arm64, installing the appropriate native and cross compilers.
  2. Update build-image.yaml to explitly build the amd64 container.

I'm only updating the Ubuntu-22 Dockerfile at the moment to get initial feedback on whether this change is good or not.

Issue #(issue)

Containers Affected

Ubuntu-22