Skip to content
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

chore: bump container image to .NET 6 #346

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

JamieMagee
Copy link
Member

After #107 and #162 we've migrated the target framework, and related dependencies, to .NET 6. However, the container image at the root of the repository was missed.

This PR:

  • changes the base images to their 6.0-cbl-mariner2.0 tags
  • Removes gradle from the final image (It doesn't appear to be available for Mariner 2.0)
  • Removes trimming (Component Detection is incompatible with trimming due to our use of reflection)
  • Makes a small linting fix in DetectorProcessingService.cs (IDE0055)

After #107 and #162 we've migrated the target framework, and related dependencies, to .NET 6. However, the container image at the root of the repository was missed.

This PR:
- changes the base images to their `6.0-cbl-mariner2.0` tags
- Removes `gradle` from the final image (It doesn't appear to be available for Mariner 2.0)
- Removes trimming (Component Detection is incompatible with trimming due to our use of reflection)
- Makes a small linting fix in `DetectorProcessingService.cs` (IDE0055)
@JamieMagee JamieMagee requested a review from a team as a code owner November 2, 2022 21:55
@JamieMagee JamieMagee requested review from jcfiorenzano, grvillic and RushabhBhansali and removed request for jcfiorenzano November 2, 2022 21:55
@JamieMagee JamieMagee merged commit 4cbeaff into main Nov 8, 2022
@JamieMagee JamieMagee deleted the users/jamagee/container-image branch November 8, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants