File tree 3 files changed +19
-19
lines changed
Rsk.Samples.IdentityServer.AdminUIIntegration.Tests
Rsk.Samples.IdentityServer.AdminUiIntegration
3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net9 .0</TargetFramework >
4
+ <TargetFramework >net8 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
8
<PackageReference Include =" FluentAssertions" Version =" 7.1.0" />
9
9
<PackageReference Include =" IdentityModel.AspNetCore.OAuth2Introspection" Version =" 6.2.0" />
10
- <PackageReference Include =" Microsoft.AspNetCore.TestHost" Version =" 9 .0.1 " />
10
+ <PackageReference Include =" Microsoft.AspNetCore.TestHost" Version =" 8 .0.12 " />
11
11
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12.0" />
12
12
<PackageReference Include =" Moq" Version =" 4.20.72" />
13
13
<PackageReference Include =" xunit" Version =" 2.9.3" />
Original file line number Diff line number Diff line change 1
1
# Stage 1 - Build
2
- FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/sdk:9 .0-alpine AS build
2
+ FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/sdk:8 .0-alpine AS build
3
3
WORKDIR /app
4
4
5
5
# packages installed
6
- # RUN apk update && \
7
- # apk upgrade
6
+ RUN apk update && \
7
+ apk upgrade
8
8
9
9
# Copy csproj and restore as distinct layers
10
10
COPY *.csproj .
@@ -15,17 +15,17 @@ COPY . .
15
15
RUN dotnet publish -c Release -o out
16
16
17
17
# Stage 2 - Runtime
18
- FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:9 .0-alpine AS runtime
18
+ FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8 .0-alpine AS runtime
19
19
20
20
# Ensuring latest openssl is installed as the one in base
21
21
# is out of date and vulnerable
22
- # RUN apk update && \
23
- # apk upgrade && \
24
- # apk upgrade openssl
22
+ RUN apk update && \
23
+ apk upgrade && \
24
+ apk upgrade openssl
25
25
26
- ENV ASPNETCORE_ENVIRONMENT= Production
26
+ ENV ASPNETCORE_ENVIRONMENT Production
27
27
ENV ASPNETCORE_HTTP_PORT=5003
28
- ENV ASPNETCORE_URLS= http://*:5003
28
+ ENV ASPNETCORE_URLS http://*:5003
29
29
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
30
30
31
31
EXPOSE 5003
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
- <TargetFramework >net9 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<RootNamespace >Rsk.Samples.IdentityServer.AdminUiIntegration</RootNamespace >
5
5
</PropertyGroup >
6
6
<ItemGroup >
20
20
21
21
<ItemGroup >
22
22
<!-- Framework Specific Packages -->
23
- <PackageReference Include =" Microsoft.AspNetCore.Authentication.Google" Version =" 9 .0.1 " />
24
- <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 9 .0.1 " />
25
- <PackageReference Include =" Microsoft.AspNetCore.Authentication.OpenIdConnect" Version =" 9 .0.1 " />
26
- <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 9 .0.3 " />
27
- <PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 9 .0.1 " />
28
- <PackageReference Include =" Pomelo.EntityFrameworkCore.MySql" Version =" 9 .0.0-preview.2.efcore.9.0.0 " />
29
- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 9 .0.1 " />
23
+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.Google" Version =" 8 .0.12 " />
24
+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8 .0.12 " />
25
+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.OpenIdConnect" Version =" 8 .0.12 " />
26
+ <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 8 .0.4 " />
27
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 8 .0.12 " />
28
+ <PackageReference Include =" Pomelo.EntityFrameworkCore.MySql" Version =" 8 .0.2 " />
29
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8 .0.12 " />
30
30
31
31
<!-- Framework Agnostic Packages -->
32
32
<PackageReference Include =" Duende.BFF" Version =" 2.3.0" />
You can’t perform that action at this time.
0 commit comments