Skip to content

Doesn't build with .Net 5.0 #89

@trajano

Description

@trajano

I wrote a small Dockerfile to build the image with FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build but that didn't work

this worked though. So the README should be updated to use 9.0 I think.

FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build

WORKDIR /src

COPY Jellyfin.Plugin.AniDB.sln ./
COPY Directory.Build.props ./
COPY Jellyfin.Plugin.AniDB/Jellyfin.Plugin.AniDB.csproj Jellyfin.Plugin.AniDB/
RUN dotnet restore Jellyfin.Plugin.AniDB/Jellyfin.Plugin.AniDB.csproj

COPY . .
RUN dotnet publish Jellyfin.Plugin.AniDB/Jellyfin.Plugin.AniDB.csproj --configuration Release --output /out

FROM busybox:1.36 AS artifact
WORKDIR /plugin
COPY --from=build /out/ ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions