# Test image: stock Jellyfin with a prebuilt SRF Play plugin baked in. # # This does NOT build the plugin — build it first on the host (fast, warm # NuGet cache), then this image is just one small COPY on top of stock # Jellyfin, so it builds in seconds. # # ./test-image.sh # builds plugin + image, runs it # # or manually: # dotnet publish Jellyfin.Plugin.SRFPlay/Jellyfin.Plugin.SRFPlay.csproj \ # -c Release -f net10.0 --no-self-contained -o ./.test-plugin/SRFPlay # docker build -f Dockerfile.test --build-arg JELLYFIN_TAG=12 -t srfplay-test . # docker run --rm -p 8096:8096 srfplay-test # # JELLYFIN_TAG must match the framework the plugin was published for; # test-image.sh picks both from one setting. ARG JELLYFIN_TAG=12 FROM jellyfin/jellyfin:${JELLYFIN_TAG} # .test-plugin/SRFPlay is produced by test-image.sh and contains the plugin # DLL plus a generated meta.json. Jellyfin loads from /plugins. COPY .test-plugin/SRFPlay /config/plugins/SRFPlay