From e4cb5f7fe075b956a4b6a8a0931e1be476818fbf Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 29 Jun 2026 14:06:06 -0500 Subject: [PATCH 1/2] [release-notes] Containers in .NET 11 Preview 6 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- release-notes/11.0/preview/preview6/containers.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 release-notes/11.0/preview/preview6/containers.md diff --git a/release-notes/11.0/preview/preview6/containers.md b/release-notes/11.0/preview/preview6/containers.md new file mode 100644 index 00000000000..af24a9231c1 --- /dev/null +++ b/release-notes/11.0/preview/preview6/containers.md @@ -0,0 +1,5 @@ +# Containers in .NET 11 Preview 6 - Release Notes + +There are no container release notes for this preview yet. Watch +[dotnet/dotnet-docker releases](https://github.com/dotnet/dotnet-docker/releases) +for the Preview 6 image announcement. From c03a158422bb55bd558a8882a5f7ab0b75d215e2 Mon Sep 17 00:00:00 2001 From: Logan Bussell Date: Mon, 13 Jul 2026 11:00:08 -0700 Subject: [PATCH 2/2] Update release notes --- .../11.0/preview/preview6/containers.md | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/release-notes/11.0/preview/preview6/containers.md b/release-notes/11.0/preview/preview6/containers.md index af24a9231c1..4ef6e95bedc 100644 --- a/release-notes/11.0/preview/preview6/containers.md +++ b/release-notes/11.0/preview/preview6/containers.md @@ -1,5 +1,31 @@ -# Containers in .NET 11 Preview 6 - Release Notes +# Container image updates in .NET 11 Preview 6 - Release Notes -There are no container release notes for this preview yet. Watch -[dotnet/dotnet-docker releases](https://github.com/dotnet/dotnet-docker/releases) -for the Preview 6 image announcement. +Here's a summary of what's new for .NET container images in this Preview 6 release: + +- [Azure Linux 4.0 images](#azure-linux-40-images) +- [Smaller Native AOT SDK images](#smaller-native-aot-sdk-images) + +## Azure Linux 4.0 images + +Azure Linux-based .NET 11 container images have been upgraded from Azure Linux +3.0 to Azure Linux 4.0 Beta. Use the `azurelinux4.0` tags for the +`runtime-deps`, `runtime`, `aspnet`, and `sdk` repositories, including Native +AOT SDK, distroless, and ASP.NET Core composite image variants. For more +information, see [dotnet/dotnet-docker #7209](https://github.com/dotnet/dotnet-docker/pull/7209). + +## Smaller Native AOT SDK images + +The .NET 11 Native AOT SDK images now use GCC instead of Clang/LLVM and install +only the compiler, linker, and development packages required for Native AOT. +This reduces the Alpine 3.23 image by 123.9 MB (30.9%) and the Ubuntu Resolute +image by 66.8 MB (15.6%). With Azure Linux 4.0 replacing Azure Linux 3.0, the +Azure Linux image is 185.1 MB (32.7%) smaller. + +| Image | Before | After | Saved | +| --- | ---: | ---: | ---: | +| `mcr.microsoft.com/dotnet/sdk:11.0-preview-alpine3.23-aot` | 401.2 MB | 277.3 MB | 123.9 MB (30.9%) | +| `mcr.microsoft.com/dotnet/sdk:11.0-preview-azurelinux3.0-aot`
(now `11.0-preview-azurelinux4.0-aot`) | 565.5 MB | 380.4 MB | 185.1 MB (32.7%) | +| `mcr.microsoft.com/dotnet/sdk:11.0-preview-resolute-aot` | 429.5 MB | 362.7 MB | 66.8 MB (15.6%) | + +For more information, see +[dotnet/dotnet-docker #7231](https://github.com/dotnet/dotnet-docker/pull/7231).