Skip to content

Use Ubuntu 24.04 Noble Numbat images by default starting in 8.0.300 #39614

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

baronfel
Copy link
Member

@baronfel baronfel commented Mar 19, 2024

Description

This changes container base image inference to bias towards Ubuntu 24.04 Noble Numbat instead of 22.04 Jammy Jellyfish. This is a change that would have been merged pre-M2-mode, but it relies on the noble .NET base images being available before end-to-end testing is possible, which will only happen later in April.

Fixes dotnet/sdk-container-builds#557.

Customer Impact

Customers will get noble base images for Trimmed/AOT applications where before they would get jammy base images.
Customers as always will be able to explicitly specify jammy base images, sidestepping inference to varying degrees.

Regression

No - this is a new feature that is just hard to test until late in the release cycle.

Risk

Low, we have great test coverage over inference and Ubuntu releases are generally quite stable. In addition, users can revert to jammy quite easily with

<PropertyGroup>
  <ContainerFamily>jammy-chiseled</ContainerFamily>
</PropertyGroup>

or -p ContainerFamily=jammy-chiseled on the command line.

Testing

Automated tests verify that we do not regress the inference for older SDKs, and that user-specified ContainerFamily are respected.

NOTE: We should not merge this until dotnet/dotnet-docker#5241 is merged and noble images are published by the docker tools team.

@baronfel baronfel requested a review from a team as a code owner March 19, 2024 15:18
@ghost ghost added Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member labels Mar 19, 2024
@baronfel baronfel changed the title use noble Ubuntu images by deffault starting in 8.0.300, use noble Ubuntu images by default starting in 8.0.300, Mar 25, 2024
@baronfel
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@baronfel
Copy link
Member Author

This is ready to go, but we need to wait until noble images are available to test it 'for real'. As a result this is DO NOT MERGE. Depending on when the base images become available we may have to take this through Tactics to make it into 8.0.3xx.

@baronfel baronfel changed the title use noble Ubuntu images by default starting in 8.0.300, Use Ubuntu 24.04 Noble Numbat images by default starting in 8.0.300 Apr 3, 2024
@baronfel
Copy link
Member Author

Approved over email, can merge as soon as Noble base images are available and tested.

@baronfel
Copy link
Member Author

baronfel commented May 1, 2024

The images are now in the nightly repository, but we don't currently have the ability to easily flip back and forth between stable and nightly so we have to wait until they go to stable.

@baronfel
Copy link
Member Author

baronfel commented May 2, 2024

Merging this for June now that branding is updated.

@baronfel baronfel merged commit 5a038a8 into dotnet:release/8.0.3xx May 2, 2024
@baronfel baronfel deleted the use-noble-over-jammy-for-baseimages branch May 2, 2024 20:21
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 DO NOT MERGE Servicing-approved untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants