adding the default rc-2
This commit is contained in:
+11
-12
@@ -1,4 +1,4 @@
|
||||
#syntax=docker/dockerfile:1
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
|
||||
|
||||
@@ -23,18 +23,13 @@ RUN \
|
||||
mesa-va-drivers \
|
||||
xmlstarlet \
|
||||
curl && \
|
||||
echo "**** dynamically resolve latest deb URLs *****" && \
|
||||
BASE_REPO_URL="https://repo.jellyfin.org/files/server/ubuntu/latest-preview/amd64" && \
|
||||
# Fetch latest server deb filename for ubu2404
|
||||
SERVER_DEB=$(curl -sL "${BASE_REPO_URL}/" | grep -oP 'jellyfin-server_[^"]+ubu2404_amd64\.deb' | head -n 1) && \
|
||||
# Fetch latest web UI deb filename
|
||||
WEB_DEB=$(curl -sL "${BASE_REPO_URL}/" | grep -oP 'jellyfin-web_[^"]+all\.deb' | head -n 1) && \
|
||||
# Fetch latest jellyfin-ffmpeg release download URL for noble amd64 via GitHub API
|
||||
FFMPEG_URL=$(curl -sL "https://api.github.com/repos/jellyfin/jellyfin-ffmpeg/releases/latest" | grep -oP 'https://[^\"]+jellyfin-ffmpeg[^\"]+noble_amd64\.deb' | head -n 1) && \
|
||||
echo "**** download custom jellyfin debs *****" && \
|
||||
curl -o /tmp/jellyfin-server.deb -L "${BASE_REPO_URL}/${SERVER_DEB}" && \
|
||||
curl -o /tmp/jellyfin-web.deb -L "${BASE_REPO_URL}/${WEB_DEB}" && \
|
||||
curl -o /tmp/jellyfin-ffmpeg.deb -L "${FFMPEG_URL}" && \
|
||||
# 1. Download Server
|
||||
curl -o /tmp/jellyfin-server.deb -L "https://repo.jellyfin.org/files/server/ubuntu/latest-preview/amd64/jellyfin-server_12.0-rc2+ubu2404_amd64.deb" && \
|
||||
# 2. Download Web UI
|
||||
curl -o /tmp/jellyfin-web.deb -L "https://repo.jellyfin.org/files/server/ubuntu/latest-preview/amd64/jellyfin-web_12.0-rc2+ubu2404_all.deb" && \
|
||||
# 3. Download FFmpeg
|
||||
curl -o /tmp/jellyfin-ffmpeg.deb -L "https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v8.1.1-4/jellyfin-ffmpeg8_8.1.1-4-noble_amd64.deb" && \
|
||||
echo "**** install custom jellyfin debs *****" && \
|
||||
# Install them all at once to resolve dependencies cleanly
|
||||
apt-get install -y \
|
||||
@@ -49,3 +44,7 @@ RUN \
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8096 8920
|
||||
VOLUME /config
|
||||
Reference in New Issue
Block a user