Skip to content

Build multi-platform Docker images (amd64 + arm64)#149

Open
Gerrrr wants to merge 1 commit intomasterfrom
fix-multiarch-docker-build
Open

Build multi-platform Docker images (amd64 + arm64)#149
Gerrrr wants to merge 1 commit intomasterfrom
fix-multiarch-docker-build

Conversation

@Gerrrr
Copy link
Copy Markdown
Contributor

@Gerrrr Gerrrr commented Apr 20, 2026

The docker buildx build command had no --platform flag, so images were built only for the host architecture. This caused examples to fail on amd64 when the published image was arm64-only.

  • Add --platform linux/amd64,linux/arm64 to buildx commands in tox.ini
  • Add QEMU and Buildx setup steps to CI workflow
  • Simplify tox docker-push to push directly to Dockerhub
  • Update RELEASE.md to use tox -e docker-push
  • Switch base Docker image to python:3.14.1-slim and bump numpy version
    for 3.14 to avoid building numpy within amd64 container.

@Gerrrr Gerrrr force-pushed the fix-multiarch-docker-build branch from c52f580 to d0e9077 Compare April 20, 2026 04:40
The docker buildx build command had no --platform flag, so images were
built only for the host architecture. This caused examples to fail on
amd64 when the published image was arm64-only.

- Add --platform linux/amd64,linux/arm64 to buildx commands in tox.ini
- Add QEMU and Buildx setup steps to CI workflow
- Simplify tox docker-push to push directly to Dockerhub
- Update RELEASE.md to use tox -e docker-push
- Switch base Docker image to python:3.14.1-slim and bump numpy version
for 3.14 to avoid building numpy within amd64 container.
@Gerrrr Gerrrr force-pushed the fix-multiarch-docker-build branch from d0e9077 to 34ae879 Compare April 20, 2026 05:34
@Gerrrr Gerrrr marked this pull request as ready for review April 20, 2026 05:39
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.

1 participant