Open shawaj opened 2 years ago
hm-miner multi architecture building using build ARGs and strategy matrix in github action https://github.com/NebraLtd/hm-miner/pull/56
I guess maybe using --profile
with docker might help but not sure balena supports that
relates to #11
Currently our multi platform support is based around using lowest common denominator for building docker images. For example, building armv6 for armv6, armv6 and aarch64 based devices.
Whilst this works, we now need to support some other non-compatible arch types such as amd64 / x86_64 where this will not work.
Both balena and docker have ways of dealing with this kind of thing such as...
Docker:
Balena:
With some of these we can build different images for different architectures as well as pull in different ones for different builds, without maintaining multiple repos.
We need to investigate these in more detail and pull together a plan for multi arch support