fix calibre slow startup: bake calibre binaries into image, skip chown on NFS
Custom Docker image pre-installs the universal-calibre mod at build time, eliminating ~10 min apt-get on every container start. Added NO_CHOWN=true to skip recursive chown that hangs on NFS mounts. Tightened startup probe since pod now starts in ~2 min instead of 15-20 min.
This commit is contained in:
parent
016aaae99c
commit
af3ba0306c
2 changed files with 14 additions and 8 deletions
7
stacks/calibre/Dockerfile
Normal file
7
stacks/calibre/Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
FROM crocodilestick/calibre-web-automated:latest
|
||||
|
||||
# Pre-install the universal-calibre mod at build time (avoids apt-get on every container start)
|
||||
ENV DOCKER_MODS=linuxserver/mods:universal-calibre
|
||||
RUN /docker-mods || true
|
||||
# Clear the env so it doesn't re-run at startup
|
||||
ENV DOCKER_MODS=
|
||||
Loading…
Add table
Add a link
Reference in a new issue