-
Notifications
You must be signed in to change notification settings - Fork 38
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
Enable cross-architecture builds #99
base: master
Are you sure you want to change the base?
Conversation
The docker hub doesn't build the images for free for open-source projects anymore, so I don't know how this PR will help us build ARM images. Is there a way to modify the https://github.com/BOINC/boinc-client-docker/blob/master/update.sh file in order to do that on any local machine? |
Yes, this can be added to update.sh. Though I am not sure yet how to clean-up afterwards. Once qemu-user-static runs the effects seem to stick around until reboot. |
Got this error:
|
Running that command in a fresh install of Ubuntu 22.04 LTS, Docker 20.10.17. I am not receiving an error. Can you provide some info about your build environment so I can attempt to reproduce this issue?
|
Freshly installed Ubuntu 20.04 on LXC container. |
I setup Ubuntu 20.04.5 LTS hosting a matching privileged LXC container, the container is running docker 20.10.18. In this environment I am still able to run that docker command successfully and don't see the "mount: permission denied (are you root?)" errors. Do you have any other information that could be helpful as to your setup? |
Using multiarch/qemu-user-static allows for many cross-architecture build scenarios. In this case looking to enable builds of the arm32v7 and arm64v8 images on common amd64 platforms such as docker hubs build infrastructure.