Repository navigation
Docker image that builds today, published to ghcr.io - #1
Merged
Merged
Conversation
The original Dockerfile no longer builds: debian:sid has no python-lxml (Python 2), and the Goodreads and WorldCat calibre plugins it installs talk to services that have closed their APIs. - Dockerfile: Debian stable (trixie) with a current calibre, the OCR and document tools the scripts use, and this repository's scripts copied in (not downloaded). No entrypoint and no fixed user: run any tool by name, as any --user; HOME=/tmp so calibre can keep its settings. - .github/workflows/docker.yml: build, run tests/run.sh inside the image, publish ghcr.io/<owner>/ebook-tools (:latest and :sha-<commit> from master, :<tag> from v* tags). Pull requests are built and tested only. - .travis.yml removed: Travis no longer runs it, and the workflow replaces it. - README: a note on what this fork adds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KdxZxdTR9922Lug2NafAJi
yeroc03
added a commit
that referenced
this pull request
Nov 23, 2026
Add the image workflow, which .gitignore kept out of #1
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.
Why
The original
Dockerfileno longer builds:debian:sidhas nopython-lxml(Python 2), and the Goodreads and WorldCat calibre plugins it installs talk to services that have closed their APIs. The image on Docker Hub (ebooktools/scripts) is from 2018, with a calibre of that age.hopper's books example (
examples/media/process/books.shand_calibre-add.shin yeroc03/hopper) needs a current calibre for two things: fetching metadata (calibre's Amazon and Google sources keep up with those sites) andcalibredb addinto Calibre-Web's library. This fork gives it an image of its own, so hopper no longer carries one.What changes
Dockerfile: Debian stable (trixie) with a current calibre, the OCR and document tools the scripts use (tesseract, poppler, catdoc, djvulibre, p7zip), and this repository's scripts copied in rather than downloaded, so an image is exactly the commit it was built from. No entrypoint (run any tool by name:organize-ebooks.sh,calibredb,ebook-meta), no fixed user (runs as any--user;HOME=/tmpso calibre can keep its settings)..github/workflows/docker.yml: builds the image, runstests/run.shinside it and checkscalibredb, then publishesghcr.io/yeroc03/ebook-tools:master→:latestand:sha-<commit>v*tag → that tag.travis.ymlremoved: Travis no longer runs it, and the workflow replaces it.The scripts themselves are unchanged.
After merging
The first push to
masterpublishes the image. Check its visibility under the package's settings; if it's private, make it public, or the NAS can't pull it without logging in to ghcr.io.Generated by Claude Code