Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions documentation/image-variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ These images are intended to satisfy the most common use cases of .NET developer

Alpine and [Ubuntu Chiseled](./ubuntu-chiseled.md) .NET images are focused on size.
By default, these images do not include `icu` or `tzdata`, meaning that these images only work with apps that are configured for [globalization-invariant mode](https://learn.microsoft.com/dotnet/core/runtime-config/globalization).
Apps that require globalization support can use the `extra` image variant of the [dotnet/runtime-deps](../README.runtime-deps.md) images. Because this is only available with `runtime-deps` images, it requires a [self-contained deployment](https://learn.microsoft.com/dotnet/core/deploying/#publish-self-contained) of the application.
Apps that require globalization support can use the `extra` image variant (see below).
Alpine, Azure Linux, and Ubuntu Chiseled images also come in `extra`, `composite`, and `aot` variants (see below).

## Distroless
Expand All @@ -17,7 +17,7 @@ For more information, see the [distroless .NET images documentation](./distroles

## `extra` (.NET 8+)

For apps that depend on globalization functionality, the `extra` image variant is offered for [Ubuntu Chiseled](./ubuntu-chiseled.md) and [Azure Linux](./azurelinux.md) distroless `runtime-deps`, `runtime`, and `aspnet` images as well as `runtime-deps` images for Alpine Linux.
For apps that depend on globalization functionality, the `extra` image variant is offered for [Ubuntu Chiseled](./ubuntu-chiseled.md) and [Azure Linux](./azurelinux.md) distroless `runtime-deps`, `runtime`, and `aspnet` images as well as `runtime-deps`, `runtime`, and `aspnet` images for Alpine Linux.
These `extra` images contain everything that the default images do, plus `icu` and `tzdata`.

## `composite` (.NET 8+)
Expand Down
2 changes: 2 additions & 0 deletions documentation/sample-image-size-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ from the ["releasesapi" sample](../samples/releasesapi).
| [`runtime-deps:10.0-noble-chiseled`] | [Native AOT] | ✅ Yes | ✖️ No | 11.60 MB |
| [`runtime-deps:10.0-noble-chiseled-extra`] | [Native AOT] | ✅ Yes | ✅ Yes | 26.56 MB |
| [`aspnet:10.0-alpine`] | [Framework-dependent] | ✖️ No | ✖️ No | 51.93 MB |
| [`aspnet:10.0-alpine-extra`] | [Framework-dependent] | ✖️ No | ✅ Yes | 66.50 MB |
| [`runtime-deps:10.0-alpine`] | [Self-contained] + [Trimming] | ✖️ No | ✖️ No | 20.95 MB |
| [`runtime-deps:10.0-alpine-extra`] | [Self-contained] + [Trimming] | ✖️ No | ✅ Yes | 35.52 MB |
| [`runtime-deps:10.0-alpine`] | [Native AOT] | ✖️ No | ✖️ No | 10.69 MB |
Expand Down Expand Up @@ -74,5 +75,6 @@ for more details on all of the supported options for publishing .NET apps.
[`runtime-deps:10.0-noble-chiseled`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/noble-chiseled
[`runtime-deps:10.0-noble-chiseled-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/noble-chiseled-extra
[`aspnet:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/10.0/alpine3.23
[`aspnet:10.0-alpine-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/10.0/alpine3.23-extra
[`runtime-deps:10.0-alpine`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.23
[`runtime-deps:10.0-alpine-extra`]: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/10.0/alpine3.23-extra