clean up repos and packages

This commit is contained in:
aptalca
2023-12-03 17:15:21 -05:00
parent 61c3357699
commit cc32e3e6c4
2 changed files with 6 additions and 16 deletions

View File

@@ -15,20 +15,15 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
RUN \
echo "**** install jellyfin *****" && \
curl -s https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | apt-key add - && \
echo 'deb [arch=amd64] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
curl -s https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | gpg --dearmor | tee /usr/share/keyrings/jellyfin.gpg >/dev/null && \
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/jellyfin.gpg] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
JELLYFIN_RELEASE=$(curl -sX GET https://repo.jellyfin.org/ubuntu/dists/jammy/main/binary-amd64/Packages |grep -A 7 -m 1 'Package: jellyfin-server' | awk -F ': ' '/Version/{print $2;exit}'); \
fi && \
apt-get update && \
apt-get install -y --no-install-recommends \
at \
jellyfin-server=${JELLYFIN_RELEASE} \
jellyfin-ffmpeg5 \
jellyfin-web \
libfontconfig1 \
libfreetype6 \
libssl3 \
jellyfin=${JELLYFIN_RELEASE} \
mesa-va-drivers \
xmlstarlet && \
echo "**** cleanup ****" && \