Skip to content

Instantly share code, notes, and snippets.

@FennyFatal
Created May 12, 2025 03:46
Show Gist options
  • Save FennyFatal/bd05a017862a055b8a5144e9f7b341ad to your computer and use it in GitHub Desktop.
Save FennyFatal/bd05a017862a055b8a5144e9f7b341ad to your computer and use it in GitHub Desktop.
Calibre container that works on old synology kernels
---
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
#!/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