File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed
frameworks/CSharp/aspnetcore Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
22RUN apt-get update
33RUN apt-get -yqq install clang zlib1g-dev
44WORKDIR /app
55COPY src/Platform .
66RUN dotnet publish -c Release -o out /p:DatabaseProvider=Npgsql /p:PublishAot=true /p:OptimizationPreference=Speed /p:GarbageCollectionAdaptationMode=0
77
8- FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS runtime
8+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS runtime
99ENV URLS=http://+:8080
1010
1111WORKDIR /app
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
22WORKDIR /app
33COPY src/Minimal .
44RUN dotnet publish -c Release -o out
55
6- FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS runtime
6+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS runtime
77ENV URLS http://+:8080
88ENV DOTNET_GCDynamicAdaptationMode=0
99ENV DOTNET_ReadyToRun=0
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
22WORKDIR /app
33COPY src/Mvc .
44RUN dotnet publish -c Release -o out
55
6- FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS runtime
6+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS runtime
77ENV URLS http://+:8080
88ENV DOTNET_GCDynamicAdaptationMode=0
99ENV DOTNET_ReadyToRun=0
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
22WORKDIR /app
33COPY src/Platform .
44RUN dotnet publish -c Release -o out /p:DatabaseProvider=MySqlConnector
55
6- FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS runtime
6+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS runtime
77ENV URLS http://+:8080
88ENV DOTNET_GCDynamicAdaptationMode=0
99ENV DOTNET_ReadyToRun=0
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
22WORKDIR /app
33COPY src/Platform .
44RUN dotnet publish -c Release -o out /p:DatabaseProvider=Npgsql
55
6- FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS runtime
6+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS runtime
77ENV URLS=http://+:8080
88ENV DOTNET_GCDynamicAdaptationMode=0
99ENV DOTNET_ReadyToRun=0
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <LangVersion >latest</LangVersion >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <LangVersion >latest</LangVersion >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
66 <IsTestAssetProject >true</IsTestAssetProject >
77 <LangVersion >preview</LangVersion >
You can’t perform that action at this time.
0 commit comments