diff --git a/osu.Server.DifficultyCalculator/Dockerfile b/osu.Server.DifficultyCalculator/Dockerfile index 4c63b78..938be4f 100644 --- a/osu.Server.DifficultyCalculator/Dockerfile +++ b/osu.Server.DifficultyCalculator/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app # Handle project files and dependencies first for caching benefits @@ -16,7 +16,7 @@ RUN dotnet publish -c Release -o out RUN rm -rf ./out/runtimes ./out/osu.Game.Resources.dll # Build runtime image -FROM mcr.microsoft.com/dotnet/runtime:6.0 +FROM mcr.microsoft.com/dotnet/runtime:8.0 WORKDIR /app COPY --from=build-env /app/osu.Server.DifficultyCalculator/out . ENTRYPOINT ["dotnet", "osu.Server.DifficultyCalculator.dll"] diff --git a/osu.Server.DifficultyCalculator/osu.Server.DifficultyCalculator.csproj b/osu.Server.DifficultyCalculator/osu.Server.DifficultyCalculator.csproj index 133d2fe..d7f1912 100644 --- a/osu.Server.DifficultyCalculator/osu.Server.DifficultyCalculator.csproj +++ b/osu.Server.DifficultyCalculator/osu.Server.DifficultyCalculator.csproj @@ -1,7 +1,7 @@  Exe - net6.0 + net8.0 osu.Server.DifficultyCalculator osu.Server.DifficultyCalculator latest @@ -17,11 +17,11 @@ - - - - - + + + + + diff --git a/osu.Server.Queues.BeatmapProcessor/Dockerfile b/osu.Server.Queues.BeatmapProcessor/Dockerfile index a8963a2..e97e228 100644 --- a/osu.Server.Queues.BeatmapProcessor/Dockerfile +++ b/osu.Server.Queues.BeatmapProcessor/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app # Handle project files and dependencies first for caching benefits @@ -16,7 +16,7 @@ RUN dotnet publish -c Release -o out RUN rm -rf ./out/runtimes ./out/osu.Game.Resources.dll # Build runtime image -FROM mcr.microsoft.com/dotnet/runtime:6.0 +FROM mcr.microsoft.com/dotnet/runtime:8.0 WORKDIR /app COPY --from=build-env /app/osu.Server.Queues.BeatmapProcessor/out . ENTRYPOINT ["dotnet", "osu.Server.Queues.BeatmapProcessor.dll"] diff --git a/osu.Server.Queues.BeatmapProcessor/osu.Server.Queues.BeatmapProcessor.csproj b/osu.Server.Queues.BeatmapProcessor/osu.Server.Queues.BeatmapProcessor.csproj index 32482c9..c320941 100644 --- a/osu.Server.Queues.BeatmapProcessor/osu.Server.Queues.BeatmapProcessor.csproj +++ b/osu.Server.Queues.BeatmapProcessor/osu.Server.Queues.BeatmapProcessor.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable latest true