Skip to content

fix: use native ARM64 runners for Docker builds to avoid QEMU issues#60

Merged
DeveloperC286 merged 2 commits into
mainfrom
claude/fix-docker-arm64-build-SDHkT
Dec 25, 2025
Merged

fix: use native ARM64 runners for Docker builds to avoid QEMU issues#60
DeveloperC286 merged 2 commits into
mainfrom
claude/fix-docker-arm64-build-SDHkT

Conversation

@DeveloperC286
Copy link
Copy Markdown
Owner

The previous Docker build process used QEMU emulation when building ARM64
images on x86_64 runners, which caused Alpine Linux busybox triggers to fail
with "execve: No such file or directory" errors.

Changes:

  • Split publish-docker job into two jobs: publish-docker-image and
    publish-docker-manifest
  • Use matrix strategy with native runners (ubuntu-24.04 for AMD64,
    ubuntu-24.04-arm for ARM64)
  • Create publish-docker-image.sh to build single-architecture images natively
  • Create publish-docker-manifest.sh to combine images into multi-arch manifest
  • Update Makefile.jinja to support new build targets

This eliminates QEMU emulation issues while maintaining the same multi-arch
Docker image output.

The previous Docker build process used QEMU emulation when building ARM64
images on x86_64 runners, which caused Alpine Linux busybox triggers to fail
with "execve: No such file or directory" errors.

Changes:
- Split publish-docker job into two jobs: publish-docker-image and
  publish-docker-manifest
- Use matrix strategy with native runners (ubuntu-24.04 for AMD64,
  ubuntu-24.04-arm for ARM64)
- Create publish-docker-image.sh to build single-architecture images natively
- Create publish-docker-manifest.sh to combine images into multi-arch manifest
- Update Makefile.jinja to support new build targets

This eliminates QEMU emulation issues while maintaining the same multi-arch
Docker image output.
The old publish-docker Makefile target and publish-docker.sh script are no
longer needed since we now use separate publish-docker-image and
publish-docker-manifest targets that build on native architecture runners.
@DeveloperC286 DeveloperC286 merged commit 8c597f6 into main Dec 25, 2025
7 checks passed
@DeveloperC286 DeveloperC286 deleted the claude/fix-docker-arm64-build-SDHkT branch December 25, 2025 13:48
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.

2 participants