From d5d9bb9761e48bcef8acdee6024cfe8afc09f3c9 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Wed, 24 Apr 2024 14:05:11 -0400 Subject: Docker: Fix fontconfig cache 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 --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index dd5b0fa..6969dd2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 -- cgit