Skip to content

Commit 4c9abc6

Browse files
authored
Updates for March 2026 .NET Releases (#7072)
2 parents 74bb507 + 6a084ee commit 4c9abc6

609 files changed

Lines changed: 3213 additions & 7302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.aspnet.md

Lines changed: 182 additions & 218 deletions
Large diffs are not rendered by default.

README.monitor-base.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following Dockerfiles demonstrate how you can use this base image to build a
4949

5050
Tags | Dockerfile | OS Version
5151
---- | ---------- | ----------
52-
10.0.0-amd64, 10.0-amd64, 10.0.0, 10.0, 10, latest | [Dockerfile](src/monitor-base/10.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
52+
10.0.1-amd64, 10.0-amd64, 10.0.1, 10.0, 10, latest | [Dockerfile](src/monitor-base/10.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
5353
9.0.5-amd64, 9.0-amd64, 9.0.5, 9.0, 9 | [Dockerfile](src/monitor-base/9.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
5454
8.1.3-ubuntu-chiseled-amd64, 8.1-ubuntu-chiseled-amd64, 8-ubuntu-chiseled-amd64, 8.1.3-ubuntu-chiseled, 8.1-ubuntu-chiseled, 8-ubuntu-chiseled, 8.1.3, 8.1, 8 | [Dockerfile](src/monitor-base/8.1/ubuntu-chiseled/amd64/Dockerfile) | Ubuntu 22.04
5555
8.1.3-azurelinux-distroless-amd64, 8.1-azurelinux-distroless-amd64, 8-azurelinux-distroless-amd64, 8.1.3-azurelinux-distroless, 8.1-azurelinux-distroless, 8-azurelinux-distroless | [Dockerfile](src/monitor-base/8.1/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
@@ -58,7 +58,7 @@ Tags | Dockerfile | OS Version
5858

5959
Tags | Dockerfile | OS Version
6060
---- | ---------- | ----------
61-
10.0.0-arm64v8, 10.0-arm64v8, 10.0.0, 10.0, 10, latest | [Dockerfile](src/monitor-base/10.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
61+
10.0.1-arm64v8, 10.0-arm64v8, 10.0.1, 10.0, 10, latest | [Dockerfile](src/monitor-base/10.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
6262
9.0.5-arm64v8, 9.0-arm64v8, 9.0.5, 9.0, 9 | [Dockerfile](src/monitor-base/9.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
6363
8.1.3-ubuntu-chiseled-arm64v8, 8.1-ubuntu-chiseled-arm64v8, 8-ubuntu-chiseled-arm64v8, 8.1.3-ubuntu-chiseled, 8.1-ubuntu-chiseled, 8-ubuntu-chiseled, 8.1.3, 8.1, 8 | [Dockerfile](src/monitor-base/8.1/ubuntu-chiseled/arm64v8/Dockerfile) | Ubuntu 22.04
6464
8.1.3-azurelinux-distroless-arm64v8, 8.1-azurelinux-distroless-arm64v8, 8-azurelinux-distroless-arm64v8, 8.1.3-azurelinux-distroless, 8.1-azurelinux-distroless, 8-azurelinux-distroless | [Dockerfile](src/monitor-base/8.1/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0

README.monitor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ See [documentation](https://go.microsoft.com/fwlink/?linkid=2158052) for how to
5050

5151
Tags | Dockerfile | OS Version
5252
---- | ---------- | ----------
53-
10.0.0, 10.0, 10, latest | [Dockerfile](src/monitor/10.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
53+
10.0.1, 10.0, 10, latest | [Dockerfile](src/monitor/10.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
5454
9.0.5, 9.0, 9 | [Dockerfile](src/monitor/9.0/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
5555
8.1.3-ubuntu-chiseled, 8.1-ubuntu-chiseled, 8-ubuntu-chiseled, 8.1.3, 8.1, 8 | [Dockerfile](src/monitor/8.1/ubuntu-chiseled/amd64/Dockerfile) | Ubuntu 22.04
5656
8.1.3-azurelinux-distroless, 8.1-azurelinux-distroless, 8-azurelinux-distroless | [Dockerfile](src/monitor/8.1/azurelinux-distroless/amd64/Dockerfile) | Azure Linux 3.0
@@ -59,7 +59,7 @@ Tags | Dockerfile | OS Version
5959

6060
Tags | Dockerfile | OS Version
6161
---- | ---------- | ----------
62-
10.0.0, 10.0, 10, latest | [Dockerfile](src/monitor/10.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
62+
10.0.1, 10.0, 10, latest | [Dockerfile](src/monitor/10.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
6363
9.0.5, 9.0, 9 | [Dockerfile](src/monitor/9.0/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0
6464
8.1.3-ubuntu-chiseled, 8.1-ubuntu-chiseled, 8-ubuntu-chiseled, 8.1.3, 8.1, 8 | [Dockerfile](src/monitor/8.1/ubuntu-chiseled/arm64v8/Dockerfile) | Ubuntu 22.04
6565
8.1.3-azurelinux-distroless, 8.1-azurelinux-distroless, 8-azurelinux-distroless | [Dockerfile](src/monitor/8.1/azurelinux-distroless/arm64v8/Dockerfile) | Azure Linux 3.0

README.runtime-deps.md

Lines changed: 96 additions & 114 deletions
Large diffs are not rendered by default.

README.runtime.md

Lines changed: 114 additions & 132 deletions
Large diffs are not rendered by default.

README.sdk.md

Lines changed: 70 additions & 81 deletions
Large diffs are not rendered by default.

documentation/sample-image-size-report.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ for more details on all of the supported options for publishing .NET apps.
7373
[`runtime-deps:10.0`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/noble
7474
[`runtime-deps:10.0-noble-chiseled`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/noble-chiseled
7575
[`runtime-deps:10.0-noble-chiseled-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/noble-chiseled-extra
76-
[`aspnet:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/10.0/alpine3.22
77-
[`runtime-deps:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.22
78-
[`runtime-deps:10.0-alpine-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.22-extra
76+
[`aspnet:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/10.0/alpine3.23
77+
[`runtime-deps:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.23
78+
[`runtime-deps:10.0-alpine-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.23-extra

documentation/vulnerability-reporting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Switching to a [supported base image tag](supported-tags.md) requires knowing th
195195
* If you're using an out-of-support .NET version, you must upgrade your project and Dockerfiles to target a supported version.
196196
The [.NET Support Policy](https://dotnet.microsoft.com/platform/support/policy) page contains the latest information on supported .NET versions.
197197
* If you're using a patch version tag which which has been replaced by a newer patch version, you must switch to the latest patch version.
198-
* If you're using a version-specific Alpine Linux tag for a version of Alpine that is no longer being maintained via .NET container images, you must move to the latest version. For example, `10.0-alpine3.21` => `10.0-alpine3.22`
198+
* If you're using a version-specific Alpine Linux tag for a version of Alpine that is no longer being maintained via .NET container images, you must move to the latest version. For example, `10.0-alpine3.22` => `10.0-alpine3.23`
199199
* If you're using a tag for a specific Windows version that is no longer supported, you must move to a supported version of Windows.
200200

201201
See our [supported tag policy](supported-tags.md) for more information.

eng/dockerfile-templates/Dockerfile.download-dotnet

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
Public stable builds still use build versions for paths but stable versions for filenames.
4747
Public unstable builds use build versions for both paths and filenames. ^
4848
set isStableVersion to find(buildVersion, "alpha") < 0 && find(buildVersion, "preview") < 0 && find(buildVersion, "rc.") < 0 ^
49-
set fileVersion to when(isStableVersion, productVersion, buildVersion) ^
49+
set useFinalVersion to VARIABLES[cat(baseUrlType, "|", dotnetVersion, "|use-final-version")] = "true" ^
50+
set fileVersion to when(isStableVersion, productVersion, when(useFinalVersion, cat(productVersion, ".final"), buildVersion)) ^
5051

5152
set archiveExtension to when(isWindows, ".zip", ".tar.gz") ^
5253

@@ -155,6 +156,16 @@
155156
"dotnet_build_version")),
156157
buildVersion
157158
)^_
159+
}}}}{{if (useFinalVersion && !isStableVersion):{{lineEnd}}
160+
{{continue}}{{
161+
assign(
162+
when(product = "aspnet" || product = "aspnet-composite",
163+
"aspnetcore_file_version",
164+
when(product = "sdk",
165+
"dotnet_sdk_file_version",
166+
"dotnet_file_version")),
167+
fileVersion
168+
)^_
158169
}}}}{{if runtimeVersion:{{lineEnd}}
159170
{{continue}}{{
160171
assign("dotnet_version", runtimeVersion)

eng/dockerfile-templates/aspnet/Dockerfile.envs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@
99
&& find(buildVersion, "preview") < 0
1010
&& find(buildVersion, "rc.") < 0 ^
1111

12+
set useFinalVersion to VARIABLES[cat("dotnet|", dotnetVersion, "|use-final-version")] = "true" ^
13+
set productVersion to VARIABLES[cat("dotnet|", dotnetVersion, "|product-version")] ^
14+
1215
set runtimeVersion to when(isStableBranding,
13-
VARIABLES[cat("dotnet|", dotnetVersion, "|product-version")],
14-
VARIABLES[cat("runtime|", dotnetVersion, "|build-version")]) ^
16+
productVersion,
17+
when(useFinalVersion,
18+
cat(productVersion, ".final"),
19+
VARIABLES[cat("runtime|", dotnetVersion, "|build-version")])) ^
1520

1621
set aspnetVersion to when(isStableBranding,
17-
VARIABLES[cat("dotnet|", dotnetVersion, "|product-version")],
18-
VARIABLES[cat("aspnet|", dotnetVersion, "|build-version")]) ^
22+
productVersion,
23+
when(useFinalVersion,
24+
cat(productVersion, ".final"),
25+
VARIABLES[cat("aspnet|", dotnetVersion, "|build-version")])) ^
1926

2027
set isWindows to find(OS_VERSION, "nanoserver") >= 0 || find(OS_VERSION, "windowsservercore") >= 0 ^
2128
set lineContinuation to when(isWindows, "`", "\") ^

0 commit comments

Comments
 (0)