Build multi-arch Docker image (add linux/arm64)#17
Merged
Conversation
Make the Dockerfile arch-aware via TARGETARCH: Firefox and geckodriver now use per-arch downloads (x86_64/linux64 for amd64, aarch64 for arm64). Google Chrome ships no ARM64 Linux build, so it is installed on amd64 only; arm64 relies on Firefox, which is the tool's default driver. The docker workflow sets up QEMU and builds/pushes both linux/amd64 and linux/arm64. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KPXpci41uTJi9PS58Xbb2y
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🤖 Generated with Claude Code
What
The published Docker image was amd64-only. This adds a linux/arm64 build alongside amd64.
Changes
TARGETARCH.linux-x86_64/linux64for amd64,linux-aarch64for arm64).--driver firefox;--driver chromeis simply unavailable on arm64.platforms: linux/amd64,linux/arm64tobuild-push-action, producing a multi-arch manifest.Verification
Built the arm64 image locally and ran it:
Mozilla Firefox 138.0.4✓geckodriver 0.36.0✓google-chromeabsent (expected on arm64) ✓