Skip to content

Commit

Permalink
Docker: Fix fontconfig cache
Browse files Browse the repository at this point in the history
Log errors:
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
  • Loading branch information
nvllsvm committed Apr 24, 2024
1 parent 12a974e commit d5d9bb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ ENV DEBIAN_FRONTEND="noninteractive" \
JELLYFIN_WEB_DIR="/jellyfin/jellyfin-web" \
JELLYFIN_FFMPEG="/usr/lib/jellyfin-ffmpeg/ffmpeg"

# required for fontconfig cache
ENV XDG_CACHE_HOME=${JELLYFIN_CACHE_DIR}

# https://github.com/dlemstra/Magick.NET/issues/707#issuecomment-785351620
ENV MALLOC_TRIM_THRESHOLD_=131072

Expand Down

0 comments on commit d5d9bb9

Please sign in to comment.