I am learnning about the Docker buildkit/buildx support for multiple architectures. I see that docker identify those using 3 variables: OS, ARCH, VARIANT, which are then put together to form a PLATFORM variant.
We are looking at building and running docker image within embedded environments. Yet, those environment have slightly alter kernel headers (public headers - UAPI) and also have various flavor of ARM cpu, some use soft-float, others hard-float, some are little-endian, others are big-endian.
As such, I am unclear what the existing docker platforms how those settings are being handled. I would also like ideally to build/add my own platforms to the system as to ensure proper compatibility of my docker image to my embedded platforms.
Can someone point me towards a proper resources on how additional details like this may be found?
At this time I have mostly read documentation about docker buildkit/buildx, I have look at the supprot for binfmt to use Qemu and the cross-compilation aspect. In my case, most of the file I will be adding to the docker image will be pre-built.