-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use Ubuntu 24.04 Noble Numbat images by default starting in 8.0.300 #39614
Conversation
…he use of jammy as well if explicit
src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/TargetsTests.cs
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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. |
Approved over email, can merge as soon as Noble base images are available and tested. |
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageAndTag.cs
Show resolved
Hide resolved
src/Containers/Microsoft.NET.Build.Containers/Tasks/ComputeDotnetBaseImageAndTag.cs
Show resolved
Hide resolved
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. |
Merging this for June now that branding is updated. |
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 getjammy
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
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.