-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add a concept of image family to container base image inference #33163
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
Conversation
7caae57
to
0e9d2e2
Compare
0e9d2e2
to
7a3c317
Compare
Sorry to those pinged for review - I rebased from 7.0.4xx to main and so you all got notified. |
7a3c317
to
246e297
Compare
This is a great feature. Strong support for it. It's also just as needed for: <ContainerFamily>cbl-mariner2.0</ContainerFamily> and <ContainerFamily>cbl-mariner2.0-distroless</ContainerFamily> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageTag.cs
Show resolved
Hide resolved
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageTag.cs
Outdated
Show resolved
Hide resolved
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageTag.cs
Outdated
Show resolved
Hide resolved
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageTag.cs
Show resolved
Hide resolved
246e297
to
7dfacad
Compare
this allows for easily selecting a group of related images (like chiseled or alpine) without having to 'eject' from inference overall
7dfacad
to
15b82eb
Compare
Thanks for the review, folks! |
Nice. Will this be in RC1? |
Should be - I believe cutoff is next Monday, so we're well under that. |
This allows for easily selecting a group of related images (like chiseled or alpine) without having to 'eject' from inference overall. Right now we don't set this value anywhere, but further work might infer various properties and opt into chiseled ubuntu containers, for example. Or detect a musl RID and flip over to the alpine family of images.
Closes dotnet/sdk-container-builds#401
This is pretty crucial for making it easier for users to opt into Chiseled containers for example - with this, a user could add
to their project file and use the new, slim containers.