Skip to content

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Jun 10, 2023

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

<ContainerFamily>jammy-chiseled</ContainerFamily>

to their project file and use the new, slim containers.

@baronfel baronfel requested a review from a team as a code owner June 10, 2023 03:25
@ghost ghost added Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member labels Jun 10, 2023
@baronfel baronfel force-pushed the containers-add-baseimagefamily branch from 7caae57 to 0e9d2e2 Compare August 3, 2023 20:32
@baronfel baronfel changed the base branch from release/7.0.4xx to main August 3, 2023 20:32
@baronfel baronfel force-pushed the containers-add-baseimagefamily branch from 0e9d2e2 to 7a3c317 Compare August 3, 2023 20:40
@baronfel
Copy link
Member Author

baronfel commented Aug 3, 2023

Sorry to those pinged for review - I rebased from 7.0.4xx to main and so you all got notified.

@baronfel baronfel force-pushed the containers-add-baseimagefamily branch from 7a3c317 to 246e297 Compare August 3, 2023 23:19
@richlander
Copy link
Member

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>

Copy link
Contributor

@donJoseLuis donJoseLuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comments

@baronfel baronfel force-pushed the containers-add-baseimagefamily branch from 246e297 to 7dfacad Compare August 8, 2023 15:53
this allows for easily selecting a group of related images (like chiseled or alpine) without having to 'eject' from inference overall
@baronfel baronfel force-pushed the containers-add-baseimagefamily branch from 7dfacad to 15b82eb Compare August 8, 2023 15:54
@baronfel
Copy link
Member Author

baronfel commented Aug 9, 2023

Thanks for the review, folks!

@baronfel baronfel merged commit 5ae5d76 into dotnet:main Aug 9, 2023
@richlander
Copy link
Member

Nice. Will this be in RC1?

@baronfel
Copy link
Member Author

baronfel commented Aug 9, 2023

Should be - I believe cutoff is next Monday, so we're well under that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ContainerBaseImageTagSuffix for only modifying the suffix of inferred image tags

4 participants