diff --git a/Dockerfile b/Dockerfile index f3a012d..1796b26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ @@ -48,4 +43,8 @@ RUN \ /var/tmp/* # add local files -COPY root/ / \ No newline at end of file +COPY root/ / + +# ports and volumes +EXPOSE 8096 8920 +VOLUME /config \ No newline at end of file