NebraLtd / helium-miner-software

Software for Nebra (and third party) Helium Miners
https://nebra.io/hnt
MIT License
93 stars 48 forks source link

Improved multi platform support #259

Open shawaj opened 2 years ago

shawaj commented 2 years ago

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

shawaj commented 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

shawaj commented 2 years ago

I guess maybe using --profile with docker might help but not sure balena supports that

shawaj commented 2 years ago

Relates to https://github.com/NebraLtd/helium-miner-software/issues/164

shawaj commented 2 years ago

relates to #11