Skip to content

update binfmt to v10.0.4 - #6215

Merged
tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:update-binfmt
Sep 11, 2025
Merged

tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:update-binfmt

Conversation

@crazy-max

Copy link
Copy Markdown
Member

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max added this to the v0.25.0 milestone Sep 11, 2025
@crazy-max
crazy-max marked this pull request as ready for review September 11, 2025 12:57
Comment thread Dockerfile
COPY --link --from=tonistiigi/binfmt:buildkit-v10.0.4-57@sha256:370775754cd56094fff210b44968bf15777aed7eb3302df4f7ab2b647630899e / /out/
WORKDIR /out/
RUN rm buildkit-qemu-loongarch64 buildkit-qemu-mips64 buildkit-qemu-mips64el
RUN rm -f buildkit-qemu-loongarch64 buildkit-qemu-mips64 buildkit-qemu-mips64el

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why the -f?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Because since v10 it would fail for arm because it doesn't build 64-bits anymore: https://github.com/moby/buildkit/actions/runs/17645081615/job/50140976792#step:7:309

  > [linux/amd64 binfmt-filter 4/4] RUN rm buildkit-qemu-loongarch64 buildkit-qemu-mips64 buildkit-qemu-mips64el:
0.084 rm: can't remove 'buildkit-qemu-loongarch64': No such file or directory
0.084 rm: can't remove 'buildkit-qemu-mips64': No such file or directory
0.084 rm: can't remove 'buildkit-qemu-mips64el': No such file or directory

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@tonistiigi
tonistiigi merged commit 0ca6aba into moby:master Sep 11, 2025
139 checks passed
@crazy-max
crazy-max deleted the update-binfmt branch September 11, 2025 18:10
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