Skip to content

refactor(docker): Consolidate Dockerfile.aarch64 into Dockerfile#540

Merged
luisangelsm merged 1 commit into
YACReader:developfrom
nickv2002:feat/docker-merge-dockerfiles
May 20, 2026
Merged

refactor(docker): Consolidate Dockerfile.aarch64 into Dockerfile#540
luisangelsm merged 1 commit into
YACReader:developfrom
nickv2002:feat/docker-merge-dockerfiles

Conversation

@nickv2002
Copy link
Copy Markdown
Contributor

Summary

  • After feat(docker): Add KDE kimageformats for AVIF, JXL and additional image formats #505 lands, docker/Dockerfile and docker/Dockerfile.aarch64 are byte-identical — same base (linuxserver/baseimage-ubuntu:resolute, a multi-arch manifest), same package lists, same multi-stage layout.
  • This PR deletes docker/Dockerfile.aarch64 and points the existing docker-arm64 CI job at the shared Dockerfile.
  • Pins --platform linux/arm64 on the arm64 job to match the explicit --platform linux/amd64 already used by the amd64 job. Both jobs still run on their native runners (ubuntu-latest and ubuntu-24.04-arm) and the manifest-combine step downstream is untouched, so multi-architecture publishing keeps working.

Dependency

Stacked on #505. Must merge after #505 — the byte-identical state only exists once #505 lands. While #505 is open, this PR's diff will include the #505 commits; GitHub will narrow it down automatically after #505 merges.

Test plan

  • Verified locally on Apple Silicon: native arm64 build from the consolidated Dockerfile produces a working image with kimg_avif.so + kimg_jxl.so present; avif.cbz and jxl.cbz pages render end-to-end through the HTTP API.
  • After CI runs: confirm both docker-amd64 and docker-arm64 jobs succeed building from the single Dockerfile.
  • Confirm the existing docker buildx imagetools create manifest-combine step still produces a working multi-arch tag.

🤖 Generated with Claude Code

@luisangelsm
Copy link
Copy Markdown
Member

CI seems to pass.

The amd64 and arm64 Dockerfiles became byte-identical after YACReader#505
landed the resolute base, kimageformats runtime, and the split
sevenzip-builder stage on arm64. Drop the duplicate and point the
docker-arm64 CI job at the shared Dockerfile; the linuxserver
'resolute' tag is a multi-arch manifest, so the same Dockerfile
builds natively on either runner. Pin --platform linux/arm64 on the
arm64 job to match the existing --platform linux/amd64 on the amd64
job.

Stacked on YACReader#505 — must merge after YACReader#505.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@luisangelsm luisangelsm force-pushed the feat/docker-merge-dockerfiles branch from 3bca91b to 2713dbe Compare May 20, 2026 16:37
@luisangelsm luisangelsm merged commit 7f4190b into YACReader:develop May 20, 2026
12 checks passed
@luisangelsm
Copy link
Copy Markdown
Member

@nickv2002 Thanks!

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