fix: use fixed tonistiigi/binfmt:qemu-v7.0.0-28
image version instead of latest version to avoid segmentation fault
#5516
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Resolve #5513.
Use the fixed
tonistiigi/binfmt:qemu-v7.0.0-28
image version, which is used in the latest successfully build instead oftonistiigi/binfmt:latest
to avoid segmentation fault.Upstream issue: tonistiigi/binfmt#240.
The
tonistiigi/binfmt:qemu-v7.0.0-28
is a very old version(2022), although it's the previous "latest" binfmt image. The upstream update this "latest" version recently and cause #5513. Although the update will fix some segment faults, it still does not work in our scenario.Although this PR may be the workaround solution, it just keeps the same building condition. We still keep watching for some better solutions upstream.
PR Checklist
Please convert it to a draft if some of the following conditions are not met.