mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2025-10-27 03:03:38 +09:00
Fix version check to use correct repo, update dockerfiles
This commit is contained in:
@@ -19,14 +19,12 @@ RUN \
|
|||||||
echo 'deb [arch=amd64] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
|
echo 'deb [arch=amd64] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
echo 'deb [arch=amd64] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
|
echo 'deb [arch=amd64] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin-server"; \
|
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}'); \
|
||||||
else \
|
|
||||||
JELLYFIN="jellyfin-server=${JELLYFIN_RELEASE}"; \
|
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
at \
|
at \
|
||||||
${JELLYFIN} \
|
jellyfin-server=${JELLYFIN_RELEASE} \
|
||||||
jellyfin-ffmpeg5 \
|
jellyfin-ffmpeg5 \
|
||||||
jellyfin-web \
|
jellyfin-web \
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
|
|||||||
@@ -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 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 && \
|
echo 'deb [arch=arm64] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin-server"; \
|
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}'); \
|
||||||
else \
|
|
||||||
JELLYFIN="jellyfin-server=${JELLYFIN_RELEASE}"; \
|
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
at \
|
at \
|
||||||
${JELLYFIN} \
|
jellyfin-server=${JELLYFIN_RELEASE} \
|
||||||
jellyfin-ffmpeg5 \
|
jellyfin-ffmpeg5 \
|
||||||
jellyfin-web \
|
jellyfin-web \
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
|
|||||||
@@ -19,14 +19,12 @@ RUN \
|
|||||||
echo 'deb [arch=armhf] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
|
echo 'deb [arch=armhf] https://repo.jellyfin.org/ubuntu jammy main' > /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
echo 'deb [arch=armhf] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
|
echo 'deb [arch=armhf] https://repo.jellyfin.org/ubuntu jammy unstable' >> /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin-server"; \
|
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}'); \
|
||||||
else \
|
|
||||||
JELLYFIN="jellyfin-server=${JELLYFIN_RELEASE}"; \
|
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
at \
|
at \
|
||||||
${JELLYFIN} \
|
jellyfin-server=${JELLYFIN_RELEASE} \
|
||||||
jellyfin-ffmpeg5 \
|
jellyfin-ffmpeg5 \
|
||||||
jellyfin-web \
|
jellyfin-web \
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# jenkins variables
|
# jenkins variables
|
||||||
project_name: docker-jellyfin
|
project_name: docker-jellyfin
|
||||||
external_type: na
|
external_type: na
|
||||||
custom_version_command: "curl -sX GET https://repo.jellyfin.org/ubuntu/dists/focal/unstable/binary-amd64/Packages |grep -A 7 -m 1 'Package: jellyfin-server' | awk -F ': ' '/Version/{print $2;exit}'"
|
custom_version_command: "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}'"
|
||||||
release_type: prerelease
|
release_type: prerelease
|
||||||
release_tag: nightly
|
release_tag: nightly
|
||||||
ls_branch: nightly
|
ls_branch: nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user