Add ARM64 (Apple Silicon) support for container builds#45
Open
claw-explorer wants to merge 1 commit intomcoia:masterfrom
Open
Add ARM64 (Apple Silicon) support for container builds#45claw-explorer wants to merge 1 commit intomcoia:masterfrom
claw-explorer wants to merge 1 commit intomcoia:masterfrom
Conversation
The anubis_deb_package URL was hardcoded to the amd64 .deb, which breaks container builds on ARM64 platforms (Apple Silicon, AWS Graviton, etc.). This uses the same ansible_architecture detection pattern already used for websocketd_filename. Anubis provides official arm64 .deb packages, so this is a straightforward URL fix with no functional changes on amd64. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
amd64Anubis deb package URL to useansible_architecturedetection (same pattern already used forwebsocketd_filename)Changes
The
anubis_deb_packageURL ingeneric-dockerhub/vars.ymlandgeneric-tarball/vars.ymlwas hardcoded toanubis_1.19.1_amd64.deb. This PR makes it architecture-aware:This matches the existing pattern used for
websocketd_filenameon line 22 of the same files. Anubis provides official arm64 .deb packages, so no upstream changes are needed.Motivation
The Evergreen ILS Docker image (
mobiusoffice/evergreen-ils) is currently only available forlinux/amd64. Running it on Apple Silicon requires QEMU emulation, which is significantly slower. With this fix, the image can be built natively on ARM64 — everything else in the Dockerfile and Ansible playbooks is already architecture-independent.Testing
Follow-up suggestion
Consider publishing multi-architecture images to Docker Hub using
docker buildxorpodman manifestso thatmobiusoffice/evergreen-ilstags automatically serve the correct architecture. Happy to help with a CI workflow for this.🤖 Generated with Claude Code