From 21b491df97125c78560a786d51b3aeb44c5c4878 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 11:28:26 +0000 Subject: [PATCH] chore: update to .NET 10 Agent-Logs-Url: https://github.com/philipp-meier/tile-server/sessions/0cbe8255-9c64-4b50-9830-bd629a19a188 Co-authored-by: philipp-meier <58301325+philipp-meier@users.noreply.github.com> --- .github/workflows/dotnet.yml | 2 +- Dockerfile | 4 ++-- src/tile-server.csproj | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index be19f77..3069a67 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore ./src - name: Build diff --git a/Dockerfile b/Dockerfile index c491027..1f615ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # prepare hosting image -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS hosting +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS hosting WORKDIR /app EXPOSE 80 EXPOSE 443 @@ -12,7 +12,7 @@ RUN apt update && apt install -y curl && mkdir /tools && \ chmod +x /tools/dotnet-counters /tools/dotnet-dump # build the application -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY src/. . RUN dotnet publish -c release -o /app/publish diff --git a/src/tile-server.csproj b/src/tile-server.csproj index 6a80f98..84dfd79 100644 --- a/src/tile-server.csproj +++ b/src/tile-server.csproj @@ -1,14 +1,14 @@ - net6.0 + net10.0 enable enable tile_server - +