crops / poky-container

A container image that is able to run bitbake/poky. It has helpers to create users and groups within the container. This is so that the output generated in the container will be readable by the user on the host.
GNU General Public License v2.0
214 stars 96 forks source link

Multi-architecture builds to support amd64 and arm64 containers using buildx #107

Closed austinhallett closed 5 months ago

austinhallett commented 6 months ago

Use buildx action to create buildx instance. Use this instance to build containers for both amd64 and arm64.

lgrosz commented 6 months ago

Hard to parse the changes with the indentation changing

austinhallett commented 6 months ago

@igrosz Heard, I will undo the tab changes. Please note I am working on https://github.com/crops/yocto-dockerfiles/pull/104 in parallel to create arm-based images for the base and builder layers

moto-timo commented 6 months ago

We must have this working in yocto-dockerfiles FIRST because those are required to build the poky container. Also, we need to have some automated way of testing the built arm64 containers work (even if it is only the simple smoke tests). I assume this will mean qemu until GitHub provides arm64 builders to the common public. The reason this project is still viable at all is because of automation.