# Multi-arch (amd64 + arm64): CI runs on ubuntu-latest, which both the amd64 and the # ARM runners carry, so the image must exist for both. # Build + push (needs a docker-container buildx builder and arm64 binfmt/QEMU): # docker buildx build -f Dockerfile.build --platform linux/amd64,linux/arm64 \ # -t gitea.tourolle.paris/dtourolle/jellypod-builder:latest --push . FROM mcr.microsoft.com/dotnet/sdk:10.0 # Install Python, Node.js, and tools RUN apt-get update && apt-get install -y \ python3 \ python3-pip \ jq \ git \ nodejs \ npm \ && rm -rf /var/lib/apt/lists/* # The .NET 10 SDK builds the net10.0 (Jellyfin 12.0) target; the .NET 8 SDK is # needed alongside it for the net8.0 (Jellyfin 10.9) target. RUN curl -sSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh \ && bash /tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet --no-path \ && rm /tmp/dotnet-install.sh # Install JPRM RUN pip install --break-system-packages jprm WORKDIR /src