jellyfin: fix the libmmal_core.so issue with ffmpeg

This commit is contained in:
Starbeamrainbowlabs 2020-10-17 19:40:41 +01:00
parent 978e5ff710
commit d4710b4f40
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -14,7 +14,7 @@ FROM ${REPO_LOCATION}minideb
COPY --from=builder /jellyfin.asc /etc/apt/trusted.gpg.d/jellyfin.asc 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 \ 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 # 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 # 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 LANG en_GB.UTF-8
ENV LANGUAGE en_GB:en 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_DATA_DIR /srv/data
ENV JELLYFIN_CONFIG_DIR /srv/config ENV JELLYFIN_CONFIG_DIR /srv/config
ENV JELLYFIN_LOG_DIR /srv/logs ENV JELLYFIN_LOG_DIR /srv/logs
ENV JELLYFIN_CACHE_DIR /srv/cache 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 USER 90:90