Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved multi platform support #259

Open
shawaj opened this issue Nov 21, 2021 · 4 comments
Open

Improved multi platform support #259

shawaj opened this issue Nov 21, 2021 · 4 comments

Comments

@shawaj
Copy link
Member

shawaj commented Nov 21, 2021

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
Copy link
Member Author

shawaj commented Nov 22, 2021

hm-miner multi architecture building using build ARGs and strategy matrix in github action NebraLtd/hm-miner#56

@shawaj
Copy link
Member Author

shawaj commented Nov 22, 2021

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

@shawaj
Copy link
Member Author

shawaj commented Nov 23, 2021

Relates to #164

@shawaj
Copy link
Member Author

shawaj commented Mar 1, 2022

relates to #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants