mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #142] fix(docker): build the alpine arm64 image without pymupdf #133
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/142
Author: @walkerobrien-cw
Created: 10/10/2026
Status: 🔄 Open
Base:
main← Head:fix/alpine-arm64-pymupdf📝 Commits (2)
73ae1d8fix(docker): build the alpine arm64 image without pymupdf66e4078fix(docker): drop the comment; the commit carries the why📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
Dockerfile.alpine(+6 -2)📄 Description
Refs #126. Follows #141.
Problem:
pymupdf==1.28.2ships amusllinux_1_2_x86_64wheel and amanylinux_2_28_aarch64wheel, but no musl/aarch64 wheel. On alpine/arm64, uv falls back to building from source, and that build fails, so thealpinearm64 image never builds.Change: on alpine/arm64 only,
Dockerfile.alpinepasses--no-install-package pymupdf, keyed on BuildKit'sTARGETARCH.What that image loses: only Zotero PDF text extraction. pymupdf is imported lazily in
_extract_pdf_text, which raises a clearImportErrorwithout it. Every other image keeps pymupdf.Tested by building natively on arm64 with
docker buildx build --platform linux/arm64 -f Dockerfile.alpine .:oikb --versionprints0.5.0.pyzoterois installed andfitzisn't.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.