diff --git a/images/jellyfin/Dockerfile b/images/jellyfin/Dockerfile index fe2903e..9cc6bf0 100644 --- a/images/jellyfin/Dockerfile +++ b/images/jellyfin/Dockerfile @@ -14,7 +14,7 @@ FROM ${REPO_LOCATION}minideb COPY --from=builder /jellyfin.asc /etc/apt/trusted.gpg.d/jellyfin.asc RUN echo "deb [arch=$( dpkg --print-architecture )] http://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" >/etc/apt/sources.list.d/jellyfin.list \ - && install_packages ca-certificates mesa-va-drivers jellyfin jellyfin-ffmpeg libraspberrypi0 openssl + && install_packages ca-certificates mesa-va-drivers jellyfin jellyfin-ffmpeg openssl # libraspberrypi0 = required by jellyfin-ffmpeg, apparently because of libmmal_core.so # Might need to install 'locales' too, since it does that & configures it in the official Dockerfile @@ -23,12 +23,15 @@ ENV LC_ALL en_GB.UTF-8 ENV LANG en_GB.UTF-8 ENV LANGUAGE en_GB:en +# Don't forget to mount this directory from the host +ENV LD_LIBRARY_PATH /opt/vc/lib + ENV JELLYFIN_DATA_DIR /srv/data ENV JELLYFIN_CONFIG_DIR /srv/config ENV JELLYFIN_LOG_DIR /srv/logs ENV JELLYFIN_CACHE_DIR /srv/cache -VOLUME /srv/data /srv/config /srv/logs /srv/cache /srv/media /srv/global_cache /srv/metadata +VOLUME /srv/data /srv/config /srv/logs /srv/cache /srv/media /srv/global_cache /srv/metadata /opt/vc/lib USER 90:90