Fix version check to use correct repo, update dockerfiles

This commit is contained in:
TheSpad
2023-04-23 18:47:49 +01:00
parent 337147da34
commit 0096b3f8b7
4 changed files with 7 additions and 13 deletions

View File

@@ -19,14 +19,12 @@ RUN \
echo 'deb [arch=arm64] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
echo 'deb [arch=arm64] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
JELLYFIN="jellyfin-server"; \
else \
JELLYFIN="jellyfin-server=${JELLYFIN_RELEASE}"; \
JELLYFIN_RELEASE=$(curl -sX GET https://repo.jellyfin.org/ubuntu/dists/jammy/unstable/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} \
jellyfin-server=${JELLYFIN_RELEASE} \
jellyfin-ffmpeg5 \
jellyfin-web \
libfontconfig1 \