bump dotnet

This commit is contained in:
Nicolas Dorier 2026-03-20 10:31:38 +09:00
parent 7af397cb58
commit 3bf5b000c8
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
3 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>8</LangVersion>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>12</LangVersion>
<StartupObject>DockerFileBuildHelper.Program</StartupObject>
</PropertyGroup>
<ItemGroup>

View File

@ -1,5 +1,5 @@
#
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.404-bookworm-slim AS builder
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0.201-noble AS builder
WORKDIR /source
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj
# Cache some dependencies
@ -8,7 +8,7 @@ COPY src/. .
RUN dotnet publish --output /app/ --configuration Release
#
FROM mcr.microsoft.com/dotnet/runtime:8.0.11-bookworm-slim
FROM mcr.microsoft.com/dotnet/runtime:10.0.5-noble
LABEL org.btcpayserver.image=docker-compose-generator
WORKDIR /datadir
WORKDIR /app

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<LangVersion>12</LangVersion>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net10.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
<RootNamespace>DockerGenerator</RootNamespace>
</PropertyGroup>