Skip to content

fix: resolve architecture mismatch for multi-arch docker builds#688

Merged
robinbraemer merged 2 commits into
minekube:masterfrom
julian-siebert:master
May 14, 2026
Merged

fix: resolve architecture mismatch for multi-arch docker builds#688
robinbraemer merged 2 commits into
minekube:masterfrom
julian-siebert:master

Conversation

@julian-siebert
Copy link
Copy Markdown
Contributor

The build failed on arm64 systems with an exec format error because using $BUILDPLATFORM forced the final stages to pull x86-based images instead of those matching the target architecture.To fix this, the Dockerfile now uses $TARGETPLATFORM for the final stages to ensure the correct native JRE and Distroless base images are pulled for each architecture. Additionally, the CI workflow now includes QEMU to enable proper emulation and multi-arch support for both amd64 and arm64 during the build process.

should resolve #681

@robinbraemer
Copy link
Copy Markdown
Member

Temporarily closing and reopening to trigger PR CI for the latest maintainer-pushed commit, because this workflow only runs pull_request CI on opened/reopened.

@robinbraemer robinbraemer reopened this May 14, 2026
@robinbraemer robinbraemer merged commit fd083f6 into minekube:master May 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: gate jre image have exec format error when open format

2 participants