aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2024-04-24 14:05:11 -0400
committerAndrew Rabert <ar@nullsum.net>2024-04-24 14:05:11 -0400
commitd5d9bb9761e48bcef8acdee6024cfe8afc09f3c9 (patch)
tree7a4f64e5bcc768b20863427951eb89ae375b7545 /docker
parentBump Intel Compute Runtime to 24.13.29138.7 (#15) (diff)
downloadjellyfin-packaging-d5d9bb9761e48bcef8acdee6024cfe8afc09f3c9.tar.gz
jellyfin-packaging-d5d9bb9761e48bcef8acdee6024cfe8afc09f3c9.tar.bz2
jellyfin-packaging-d5d9bb9761e48bcef8acdee6024cfe8afc09f3c9.zip
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
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
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
bgstack15