-
Notifications
You must be signed in to change notification settings - Fork 30
Enable QEMU emulation in CI to fix multi-arch RTI Docker builds #552
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
base: main
Are you sure you want to change the base?
Conversation
|
The |
hokeun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks!
|
@edwardalee Could you please check? This is not urgent but annoying. |
edwardalee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Enable QEMU emulation in CI to fix multi-arch RTI Docker builds
This PR adds a QEMU setup step to the
docker-buildjob so that multi-architecture Docker builds (particularlylinux/arm/v7) can run correctly in GitHub Actions.Previously, the CI runner attempted to execute ARM binaries during the apk add phase of the RTI Dockerfile. Since QEMU/binfmt was not registered, ARM executables (notably BusyBox triggers) failed with:
This caused the RTI image build to fail for
linux/arm/v7as mentioned in #550.I enabled the github runner to register the required
binfmthandlers soBuildxcan emulate thelinux/arm/v7.