From e1347fa73f2feb92c36c364303972e0a91657f3f Mon Sep 17 00:00:00 2001 From: "Tarantino, Roberto" Date: Wed, 24 Dec 2025 18:51:03 +0100 Subject: [PATCH] Created separate devcontainers (non-headless, headless). Replaced devcontainers image with dotnet SDK image. Minor fixes. --- .devcontainer/Dockerfile | 53 --------------- .devcontainer/Jellyfin.Headless/Dockerfile | 42 ++++++++++++ .../Jellyfin.Headless/devcontainer.json | 31 +++++++++ .devcontainer/Jellyfin/Dockerfile | 68 +++++++++++++++++++ .../{ => Jellyfin}/devcontainer.json | 3 - 5 files changed, 141 insertions(+), 56 deletions(-) delete mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/Jellyfin.Headless/Dockerfile create mode 100644 .devcontainer/Jellyfin.Headless/devcontainer.json create mode 100644 .devcontainer/Jellyfin/Dockerfile rename .devcontainer/{ => Jellyfin}/devcontainer.json (89%) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index fa7c266f6e..0000000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,53 +0,0 @@ -FROM node:20-slim AS web-builder - -ARG JELLYFIN_WEB_BUILD_CONFIG=development -ARG JELLYFIN_WEB_GIT_BRANCH=master - -USER root - -# Intall build dependencies -RUN apt-get update && apt-get install git -y - -# Clone the repository at the specified branch/tag/commit -RUN git clone --branch $JELLYFIN_WEB_GIT_BRANCH https://github.com/jellyfin/jellyfin-web.git /root/jellyfin-web - -WORKDIR /root/jellyfin-web - -# Install dependencies and build -RUN npm i && npm run build:$JELLYFIN_WEB_BUILD_CONFIG - -FROM mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm AS debug - -USER root - -# Import Jellyfin public GPG key -RUN curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg - -# Create Jellyfin source file -RUN . /etc/os-release && ARCH=$(dpkg --print-architecture) && \ - tee /etc/apt/sources.list.d/jellyfin.sources <