jellyfin: adjust apt repo for apt-cacher-ng

This commit is contained in:
Starbeamrainbowlabs 2020-09-05 21:39:50 +01:00
parent 9f072bbd14
commit 891ba7ad12
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -13,7 +13,7 @@ FROM ${REPO_LOCATION}minideb
COPY --from=builder /jellyfin.asc /etc/apt/trusted.gpg.d/jellyfin.asc
RUN echo "deb [arch=$( dpkg --print-architecture )] https://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 \
&& mkdir -p /srv/cache /srv/config /srv/media \
&& install_packages ca-certificates mesa-va-drivers jellyfin jellyfin-ffmpeg openssl
# Might need to install 'locales' too, since it does that & configures it in the official Dockerfile