File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
GCloud.Compute.Metadata.TestServer
GCloud.Compute.Metadata.Tests
GCloud.Compute.Metadata.V1 Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/aspnet:8 .0 as runtime
1
+ FROM mcr.microsoft.com/dotnet/aspnet:9 .0 as runtime
2
2
WORKDIR /app
3
- EXPOSE 80
3
+ EXPOSE 8080
4
4
EXPOSE 443
5
5
6
- FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS builder-base
6
+ FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS builder-base
7
7
WORKDIR /src
8
8
COPY . .
9
9
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net8 .0</TargetFramework >
4
+ <TargetFramework >net9 .0</TargetFramework >
5
5
<Nullable >enable</Nullable >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
<DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
8
+ <LangVersion >13</LangVersion >
8
9
</PropertyGroup >
9
10
10
11
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net8.0</TargetFramework >
5
4
<ImplicitUsings >enable</ImplicitUsings >
6
5
<Nullable >enable</Nullable >
7
6
8
7
<IsPackable >false</IsPackable >
9
8
<IsTestProject >true</IsTestProject >
9
+ <TargetFrameworks >net8.0;net9.0</TargetFrameworks >
10
+ <LangVersion >13</LangVersion >
10
11
</PropertyGroup >
11
12
12
13
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net8.0</TargetFramework >
5
4
<ImplicitUsings >enable</ImplicitUsings >
6
5
<Nullable >enable</Nullable >
7
6
<PackageId >GCloud.Compute.Metadata.V1</PackageId >
16
15
<Description >Library for using the GCE metadata api</Description >
17
16
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
18
17
<PackageTags >google cloud metadata</PackageTags >
18
+ <LangVersion >13</LangVersion >
19
+ <TargetFrameworks >net9.0;net8.0</TargetFrameworks >
19
20
</PropertyGroup >
20
21
<ItemGroup >
21
22
<None Include =" ..\LICENSE" >
You can’t perform that action at this time.
0 commit comments