wolfi-dev / os

Main package repository for production Wolfi images
Other
829 stars 262 forks source link

Separate the dotnet-8-sdk into its own package #17580

Open debasishbsws opened 7 months ago

debasishbsws commented 7 months ago

Background

The dotnet/runtime and the dotnet/sdk follow different version schemes. So for a single dotnet runtime release, there might be multiple SDK releases present as we can see in their release: https://dotnet.microsoft.com/en-us/download/dotnet/8.0 latest version info link

Issue

Currently, for dotnet-8 we are using the repo dotnet/dotnet to build the package(both runtime and SDK). this repo only releases a new tag when there is a dotnet runtime release available and it ignores any new individual SDK release so we are missing out on multiple SDK minor releases. currelty the latest SDK version is 8.0.204 but in wolfi dotnet-8 we have version 8.0.104 And for dotnet-6 and dotnet-7 its oposite we are using the SDK releases so we do not have a dotnet-7-runtime v7.0.18. we have the version 7.0.118

Solution

For a solution, I propose that we separate the dotnet-sdk into its own package from the main dotnet package. So the main package can follow the core runtime release(8.0.4) and the SDK will follow its own release(8.0.204).

debasishbsws commented 7 months ago

As a comment from Ariadne this solution does not work as there will be incompatibility issue between runtime and SDK https://github.com/wolfi-dev/os/pull/17699#issuecomment-2082365806

Tries to build the package from dotnet/installer as they provide new release in every new sdk version release but could not able to build.