-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] --deep mode on linux requires dotnet sdk 9.0 #1563
Comments
@timmyteo Any thoughts? |
Hi @prabhu - I think this may be caused by the recent Dosai dotnet 9 upgrade. I suspect that the dotnet 6 SDK is missing something that is needed in the runtime by a dotnet 9 application, for which Dosai is now asking for dotnet 9 runtime. I think this is the correct dockerfile that would need an update to fix this? Or maybe a different/multiple docker files related to dotnet 6 SDK. I believe adding the dotnet 9 runtime to the dotnet 6 SDK image might fix this. So add the following command for apt-get to install: |
@timmyteo Is it possible to create a single static fat binary that includes the needed runtime bits? |
Different dotnet runtime and SDK versions can exist on a machine simultaneously. So I believe it would work to have a single Docker image with dotnet sdk 6,7,8,9 all installed. |
@timmyteo That may not be possible. The OS version for dotnet 6,7,8 are old so may not have dotnet 9 packaged. Plus, if we have multiple versions of dotnet in the same image, then we need a file or setting to make cdxgen use the correct version to perform restore operations. |
Getting the below error with the
ghcr.io/cyclonedx/cdxgen-debian-dotnet6:v11
image. Need to check if the settings we use for build is correct.https://github.com/owasp-dep-scan/dosai/blob/c01cd33d493ebb50ecd5fe688379e7b4cd059906/.github/workflows/test.yml#L40
The text was updated successfully, but these errors were encountered: