Skip to content

remove unused emulators from exported image #5736

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

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

tonistiigi
Copy link
Member

New emulators that have been added to binfmt image are not actually referenced from the buildkit embedded loader. They are also rare enough not to be worth including. BuildKit can still use these emulators if they are installed into the kernel externally (what is recommended anyway).

Copy link
Member Author

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This filter can also be done in binfmt repository in the future as we are already using buildkit-specific target. It wouldn't affect the main binfmt release.

@@ -27,7 +27,6 @@ var qemuArchMap = map[string]string{
"riscv64": "riscv64",
"arm": "arm",
"s390x": "s390x",
"ppc64": "ppc64",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ppc64 emulator was never part of the image anyway.

@crazy-max crazy-max merged commit 983e179 into moby:master Feb 13, 2025
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants