Skip to content

Commit 0ee5fcc

Browse files
authored
CSCTTV-3775 Upgrade from .NET 6.0 to .NET 8.0 (#241)
* Upgrade .NET version from 6.0 to 8.0. Upgrade NuGet packages. * Use NET 8.0 sdk image in Docker build. Delete Rahti1 related OpenShift config
1 parent d592643 commit 0ee5fcc

11 files changed

+187
-661
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
"launchSettingsProfile": "http",
13-
"program": "${workspaceFolder}/aspnetcore/src/api/bin/Debug/net6.0/api.dll",
13+
"program": "${workspaceFolder}/aspnetcore/src/api/bin/Debug/net8.0/api.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}/aspnetcore/src/api",
1616
"stopAtEntry": false,

aspnetcore/openshift/api/Dockerfile

-20
This file was deleted.

aspnetcore/openshift/api/rahti2/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder
2-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
2+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
33
WORKDIR /app
44
# Copy csproj and restore as distinct layers
55
COPY aspnetcore/custom_nuget/ /app/custom_nuget
@@ -13,7 +13,7 @@ RUN dotnet publish -c Release -o out
1313

1414

1515
# Runtime image
16-
FROM mcr.microsoft.com/dotnet/aspnet:6.0
16+
FROM mcr.microsoft.com/dotnet/aspnet:8.0
1717
WORKDIR /app
1818
COPY --from=build-env /app/out .
1919
EXPOSE 8080

aspnetcore/openshift/api/template-api-demo.yml

-99
This file was deleted.

aspnetcore/openshift/api/template-api-devel-artifactory.yml

-58
This file was deleted.

aspnetcore/openshift/api/template-api-devel.yml

-99
This file was deleted.

0 commit comments

Comments
 (0)