-
Notifications
You must be signed in to change notification settings - Fork 69
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
Provide multi-arch container images #53
Comments
In order to make the build pass, we have to make some slight changes to the recently added atomic package. We need to give 32-bit ARM the same treatment as 386, as 64-bit integers are also not 8-byte aligned. If we ever need to figure this out for other platforms, we can grep Go's src/runtime/internal/sys/arch_*.go for Int64Align. Related to: - buildbarn/bb-deployments#53 - golang/go#9959
I don't think I've just gone ahead and enabled CI builds for 32- and 64-bit ARM, meaning that you can now download prebuilt executables for those platforms by going to the 'Actions' tab for the respective repositories on GitHub. You should now also be able to build your own ARM container images by checking out any of the bb-* repositories and running something like this:
I'll keep this issue report open as a reminder that we should add multi-arch container images. |
@EdSchouten we started https://github.com/bazel-contrib/rules_oci as an alternative to rules_docker. Since rules_docker is basically unmaintained, I'd like to offer to migrate buildbarn from rules_docker to rules_oci which supports multi-arch out-of-the-box |
Hey! That sounds great! PRs are welcome! Probably best to start off with bb_storage? |
Great. yeah, that sounds like a great start. |
hey @EdSchouten buildbarn/bb-storage#167 is up. looking forward to your feedback |
@EdSchouten can this now be closed? |
Yes! |
I'd like to try and use buildbarn, but I've got an ARM cluster. Could using docker buildx make build barn work on ARM?
The text was updated successfully, but these errors were encountered: