Skip to content

Commit 08f741c

Browse files
committed
pp
1 parent 4103e78 commit 08f741c

13 files changed

Lines changed: 53 additions & 15 deletions

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Version values referenced from https://hub.docker.com/_/microsoft-dotnet-aspnet
22

3-
FROM mcr.microsoft.com/dotnet/sdk:6.0-cbl-mariner2.0. AS build
3+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
44

55

66
WORKDIR /src
77
COPY [".", "./"]
8-
RUN dotnet build "./src/Service/Azure.DataApiBuilder.Service.csproj" -c Docker -o /out -r linux-x64
8+
RUN dotnet build "./src/Service/Azure.DataApiBuilder.Service.csproj" -f net8.0 -o /out -r linux-x64 --self-contained
99

10-
FROM mcr.microsoft.com/dotnet/aspnet:6.0-cbl-mariner2.0 AS runtime
10+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
1111

1212
COPY --from=build /out /App
1313
WORKDIR /App

src/Auth/Azure.DataApiBuilder.Auth.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputPath>$(BaseOutputPath)\engine</OutputPath>

src/Cli.Tests/Cli.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

src/Cli/Cli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<RootNamespace>Cli</RootNamespace>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>

src/Config/Azure.DataApiBuilder.Config.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputPath>$(BaseOutputPath)\engine</OutputPath>

src/Core/Azure.DataApiBuilder.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<EmbedUntrackedSources>true</EmbedUntrackedSources>

src/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<PackageVersion Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
2121
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.38.1" />
2222
<!--When updating Microsoft.Data.SqlClient, update license URL in scripts/notice-generation.ps1-->
23-
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.0" />
23+
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.4" />
2424
<PackageVersion Include="Microsoft.Extensions.Logging.ApplicationInsights" Version="2.22.0" />
2525
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.5.0" />
2626
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
@@ -66,4 +66,4 @@
6666
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
6767
<PackageVersion Include="Npgsql" Version="7.0.7" />
6868
</ItemGroup>
69-
</Project>
69+
</Project>

src/Product/Azure.DataApiBuilder.Product.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputPath>$(BaseOutputPath)\engine</OutputPath>

src/Service.GraphQLBuilder/Azure.DataApiBuilder.Service.GraphQLBuilder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputPath>$(BaseOutputPath)\engine</OutputPath>

src/Service.Tests/Azure.DataApiBuilder.Service.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<Nullable>disable</Nullable>
77
<OutputPath>$(BaseOutputPath)\tests</OutputPath>

0 commit comments

Comments
 (0)