Created
May 12, 2025 03:46
-
-
Save FennyFatal/bd05a017862a055b8a5144e9f7b341ad to your computer and use it in GitHub Desktop.
Calibre container that works on old synology kernels
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
--- | |
services: | |
calibre: | |
image: lscr.io/linuxserver/calibre:7.6.0 | |
container_name: calibre | |
security_opt: | |
- seccomp:unconfined #optional | |
environment: | |
- PUID=1027 | |
- PGID=1027 | |
- "TZ=Etc/UTC" | |
- DOCKER_MODS=linuxserver/mods:universal-calibre | |
ports: | |
- 8080:8080 | |
- 8181:8181 | |
- 8081:8081 | |
restart: unless-stopped | |
volumes: | |
- ./config:/config | |
- ./library:/library | |
- ./fix_calibre_qt6.sh:/custom-cont-init.d/fix_calibre_qt6.sh:ro |
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
#!/bin/bash | |
# fix qt6 | |
apt-get update | |
apt-get install -y --no-install-recommends binutils | |
strip --remove-section=.note.ABI-tag /app/calibre/lib/libQt6* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment