fix: align runtime image .NET to the app (9.0) #7
Reference in New Issue
Block a user
Delete Branch "benvin/jellyfin-dotnet9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v0.1.2 crashes on start: the runtime image is based on
mcr.microsoft.com/dotnet/aspnet:10.0(ships .NET 10.0.11 only), but the publish step builds framework-dependent againstmcr.microsoft.com/dotnet/sdk:9.0, so the server requiresMicrosoft.NETCore.App9.0.0 and the host fails the framework check.Aligns the runtime major down to the app target (upstream Jellyfin targets net8/net9; the SDK here is 9.0), rather than moving the app up to net10.
Changes:
Dockerfile.runtimebase image tomcr.microsoft.com/dotnet/aspnet:9.0so the runtime provides .NET 9 matching the SDK 9.0 publish..woodpecker/*.yaml/Makefile.README.md.Note: real proof is a rebuilt image starting past the .NET framework check, which happens after merge (cut v0.1.3, build+push, run-test).