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
Multi-arch builds #17
Comments
AFAIK to do that you'd need to have a build machine that runs in the desired arch (which I don't have) or use qemu. If you're able to it with qemu, we can review the PR. |
Actually, that's not necessary for this image since the build steps don't actually have to execute anything within the layer. It only copies files into it. Also, the base layer you use already has multi-arch builds. I made a forked pipeline using Drone so that I could pull an image on my Raspberry Pi, but I'm not sure how you're doing builds. This is the gist of it though. Update the top of the
Then do a build passing in the desired repo arch, eg: If you'd like to see the whole pipeline, I can share a link to my private server with the diff. I could also patch |
I'm using docker hub to build. Can that be done there? |
Cool! I didn't realize you could customize build hooks on Docker Hub. I managed to get this working on Docker Hub as well. Incoming PR. |
It would be great to have multi-arch builds for this as well for use on Raspberry Pi and other systems.
I see you use a script to do the builds already, so it would not be too much to change over.
Since haproxy already supports multi-arch, you can use a build arg to set the source repo. I'm not sure how you do builds today, but I can help if you'd like.
The text was updated successfully, but these errors were encountered: