|
1 | | -# .NET 8.0 Container Image Size Report |
| 1 | +# .NET Container Image Size Report |
2 | 2 |
|
3 | 3 | .NET offers a variety of deployment options for applications, which pair with container images that we offer. It's possible to produce very small container images. This document summarizes the available options to help you make the best choice for your apps and environment. |
4 | 4 |
|
@@ -32,10 +32,13 @@ And [Native AOT](https://learn.microsoft.com/en-us/dotnet/core/deploying/native- |
32 | 32 | | [Self-contained](https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained) + [Trimming](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained) | [`runtime-deps:8.0-jammy`](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/8.0/jammy/amd64/Dockerfile) | 146 MB | 57.9 MB | 36% | |
33 | 33 | | [Chiseled](https://github.com/dotnet/dotnet-docker/blob/main/documentation/ubuntu-chiseled.md) + [Self-contained](https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained) + [Trimming](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained) | [`runtime-deps:8.0-jammy-chiseled`](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/8.0/jammy-chiseled/amd64/Dockerfile)| 39.3 MB | 16.4 MB | 82% | |
34 | 34 | | [Native AOT](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/) | [`runtime-deps:8.0-jammy-chiseled`](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/8.0/jammy-chiseled/amd64/Dockerfile)| 27.7 MB | 12.4 MB | 86% | |
35 | | -| [Native AOT](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/) (preview image)[^2] | [`runtime-deps:8.0-jammy-chiseled-aot`](https://github.com/dotnet/dotnet-docker/blob/nightly/src/runtime-deps/8.0/jammy-chiseled-aot/amd64/Dockerfile) | 25.4 MB | 11.6 MB | 87% | |
36 | 35 |
|
37 | | -For more information about new images for .NET 8, please see the [.NET image variants documentation (temporary link to PR)](https://github.com/dotnet/dotnet-docker/pull/4979) and ["Announcement: New approach for differentiating .NET 8+ images"](https://github.com/dotnet/dotnet-docker/discussions/4821). |
| 36 | +For more information on .NET image variants and AOT images, please see the following documentation: |
38 | 37 |
|
39 | | -[^1]: Percentage of size savings is based on compressed image size. |
| 38 | +- [.NET Image Variants](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-variants.md) |
| 39 | +- [Announcement: .NET 10 AOT container images](https://github.com/dotnet/dotnet-docker/discussions/6312) |
| 40 | +- [Announcement: New approach for differentiating .NET 8+ images](https://github.com/dotnet/dotnet-docker/discussions/4821) |
| 41 | + |
| 42 | +Watch the [announcements page](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for the latest information on new features and changes in .NET contanier images. |
40 | 43 |
|
41 | | -[^2]: Native AOT is fully supported for .NET 8, but our AOT-specific container images are in preview and thus only available in the `mcr.microsoft.com/dotnet/nightly/` repos. Please try them out! |
| 44 | +[^1]: Percentage of size savings is based on compressed image size. |
0 commit comments