How platform selection works in BlueBuild
mainWhen building images, the final set of target platforms is determined by a hierarchy between CLI flags and recipe definitions:
- CLI Flags: If the
--platformflag is provided in the command line, it overrides any platform settings defined in the recipe files. - Recipe Settings: If no
--platformflag is provided, the CLI uses the platforms specified within the recipe(s). - Default: If neither the CLI nor the recipe specifies a platform, the CLI defaults to the host's default platform.
Note: Building for an architecture different from your hardware (e.g., building arm64 on amd64) requires qemu to be installed and will result in significantly longer build times.