Skip to content

Commit 7f3952c

Browse files
committed
Merge remote-tracking branch 'upstream/release/2026-03B' into release-2026-03B
2 parents 74bb507 + 12a994c commit 7f3952c

File tree

289 files changed

+2018
-6035
lines changed

Some content is hidden

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

289 files changed

+2018
-6035
lines changed

README.aspnet.md

Lines changed: 39 additions & 75 deletions
Large diffs are not rendered by default.

README.runtime-deps.md

Lines changed: 21 additions & 39 deletions
Large diffs are not rendered by default.

README.runtime.md

Lines changed: 23 additions & 41 deletions
Large diffs are not rendered by default.

README.sdk.md

Lines changed: 16 additions & 27 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, "`", "\") ^

eng/dockerfile-templates/runtime/Dockerfile.envs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
find(buildVersion, "alpha") < 0
99
&& find(buildVersion, "preview") < 0
1010
&& find(buildVersion, "rc.") < 0 ^
11+
set useFinalVersion to VARIABLES[cat("dotnet|", dotnetVersion, "|use-final-version")] = "true" ^
1112
set runtimeVersion to when(isStableBranding,
1213
VARIABLES[cat("dotnet|", dotnetVersion, "|product-version")],
13-
buildVersion)
14+
when(useFinalVersion,
15+
cat(VARIABLES[cat("dotnet|", dotnetVersion, "|product-version")], ".final"),
16+
buildVersion))
1417

1518
}}# .NET Runtime version
1619
{{if ARGS["is-standalone"]:ENV }}DOTNET_VERSION={{runtimeVersion}}

eng/dockerfile-templates/sdk/Dockerfile.envs

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

12+
set useFinalVersion to VARIABLES[cat("sdk|", dotnetVersion, "|use-final-version")] = "true" ^
1213
set sdkVersion to when(isStableBranding,
1314
VARIABLES[cat("sdk|", dotnetVersion, "|product-version")],
14-
VARIABLES[cat("sdk|", dotnetVersion, "|build-version")]) ^
15+
when(useFinalVersion,
16+
cat(VARIABLES[cat("sdk|", dotnetVersion, "|product-version")], ".final"),
17+
VARIABLES[cat("sdk|", dotnetVersion, "|build-version")])) ^
1518
set isAlpine to find(OS_VERSION, "alpine") >= 0 ^
1619
set isWindows to find(OS_VERSION, "nanoserver") >= 0 || find(OS_VERSION, "windowsservercore") >= 0 ^
1720
set lineContinuation to when(isWindows, "`", "\") ^

0 commit comments

Comments
 (0)