externpro / buildpro

build images for projects that use externpro
MIT License
2 stars 1 forks source link

remove dotnet-sdk-3.1 #89

Closed smanders closed 5 days ago

smanders commented 5 days ago

dotnet 8 was added https://github.com/externpro/buildpro/issues/75

currently both 3.1 and 8 are being installed https://github.com/externpro/buildpro/blob/24.08/public/rocky85-bld.dockerfile#L123-L124 which allowed for projects to have the option and switch to dotnet 8 when they were ready

dotnet --info shows that there have been two .NET SDKs installed https://github.com/externpro/buildpro/issues/75#issuecomment-2153334806

now that projects have had the chance to move to dotnet 8, and given that there is a build container with both available while the conversion takes place, removing dotnet 3.1 (in the interest of size and security vulnerabilities) should take place

smanders commented 5 days ago

dotnet-sdk-8 is now 8.0.110 (was 8.0.105)

$ dotnet --info
.NET SDK:
 Version:           8.0.110
 Commit:            87a66bb3d1
 Workload version:  8.0.100-manifests.9143487c

Runtime Environment:
 OS Name:     rocky
 OS Version:  8.10
 OS Platform: Linux
 RID:         rocky.8-x64
 Base Path:   /usr/lib64/dotnet/sdk/8.0.110/

.NET workloads installed:
 Workload version: 8.0.100-manifests.9143487c
There are no installed workloads to display.

Host:
  Version:      8.0.10
  Architecture: x64
  Commit:       81cabf2857

.NET SDKs installed:
  8.0.110 [/usr/lib64/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.10 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.10 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/usr/lib64/dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

completed with commit to dev branch referenced above