You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can use C# or F# to write .NET apps.
23
23
24
24
You are invited to [contribute new features](https://github.com/dotnet/core/blob/master/CONTRIBUTING.md), fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Copy file name to clipboardExpand all lines: documentation/image-variants.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -11,23 +11,23 @@ By default, these images do not include `icu` or `tzdata`, meaning that these im
11
11
Apps that require globalization support can use the `extra` image variant of the [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/) 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.
12
12
Alpine, Azure Linux, and Ubuntu Chiseled images also come in `extra`, `composite`, and `aot` variants (see below).
13
13
14
-
###Distroless
14
+
## Distroless
15
15
16
16
[Ubuntu Chiseled](https://ubuntu.com/engage/chiselled-ubuntu-images-for-containers) and [Azure Linux](./azurelinux.md) distroless .NET images contain only the minimum set of libraries necessary to run .NET applications with everything else removed.
17
17
For more information, see the [Distroless .NET images documentation](./distroless.md).
18
18
19
-
###`extra` (.NET 8.0+)
19
+
## `extra` (.NET 8.0+)
20
20
21
21
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.
22
22
These `extra` images contain everything that the default images do, plus `icu` and `tzdata`.
23
23
24
-
###`composite` (.NET 8.0+)
24
+
## `composite` (.NET 8.0+)
25
25
26
26
ASP.NET Core Composite images provide a smaller size on disk while keeping the performance of the default [ReadyToRun (R2R) setting](https://learn.microsoft.com/dotnet/core/deploying/ready-to-run).
27
27
The caveat is that the composite images have tighter version coupling. This means the final app run on them cannot use handpicked custom versions of the framework and/or ASP.NET assemblies that are built into the composite binary.
28
28
For a full technical description on how the composites work, we have a [feature doc here](https://github.com/dotnet/runtime/blob/main/docs/design/features/readytorun-composite-format-design.md).
29
29
30
-
###(Preview) `aot` (.NET 8.0+)
30
+
## (Preview) `aot` (.NET 8.0+)
31
31
32
32
The `aot` images provide an optimized deployment size for [Native AOT](https://learn.microsoft.com/dotnet/core/deploying/native-aot/) compiled .NET apps.
33
33
Native AOT has the lowest size, startup time, and memory footprint of all .NET deployment models.
Copy file name to clipboardExpand all lines: eng/readme-templates/About.product-family.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,4 +11,4 @@ You can use C# or F# to write .NET apps.
11
11
12
12
You are invited to [contribute new features](https://github.com/dotnet/core/blob/master/CONTRIBUTING.md), fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Copy file name to clipboardExpand all lines: samples/build-for-a-platform.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,12 @@ The `--platform` argument is the best way to specify the desired architecture. T
80
80
In addition, Docker [Buildkit exposes multiple environment variables](https://github.com/dotnet/dotnet-docker/pull/4387#issuecomment-1416565213) that can be used to further conditionalize behavior. These environment variables can be controlled with the pattern demonstrated in [Dockerfile](https://github.com/mthalman/dredge/blob/main/src/Valleysoft.Dredge/Dockerfile). As mentioned, .NET doesn't support being run in emulation. The pattern in that Dockerfile results in the SDK always being run natively while the final image is affected by the `--platform` switch. This model also has the best performance since the bulk of computation is run natively.
81
81
82
82
> [!NOTE]
83
-
> We are enabling the following model in a future release: https://github.com/dotnet/dotnet-docker/issues/4388#issuecomment-1421401384.
83
+
> We are enabling this [model](https://github.com/dotnet/dotnet-docker/issues/4388#issuecomment-1421401384) in a future release.
84
84
85
85
## .NET and QEMU
86
86
87
87
Docker Desktop uses [QEMU](https://www.qemu.org/) for emulation, for example running x64 code on an Arm64 machine. [.NET doesn't support being run in QEMU](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md#qemu). That means that the SDK needs to always be run natively, to enable [multi-stage build](https://docs.docker.com/build/building/multi-stage/). Multi-stage build is used by all of our samples.
88
88
89
89
As a result, we need a reliable pattern that can produce multiple variants of images on one machine, but that doesn't use emulation. That's what this document describes.
Copy file name to clipboardExpand all lines: samples/enable-globalization.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ System.Globalization.CultureNotFoundException: Only the invariant culture is sup
35
35
en-us is an invalid culture identifier.
36
36
```
37
37
38
-
This is by design. `Microsoft.Data.SqlClient` requires ICU to be installed. See https://github.com/dotnet/SqlClient/issues/220 for more information.
38
+
This is by design. `Microsoft.Data.SqlClient` requires ICU to be installed. See this [Sql Client issue](https://github.com/dotnet/SqlClient/issues/220) for more information.
39
39
40
40
### Alpine images
41
41
@@ -54,7 +54,7 @@ RUN apk add --no-cache \
54
54
55
55
### Ubuntu chiseled images
56
56
57
-
ICU can be added to an Ubuntu chiseled image, as demonstrated by https://github.com/ubuntu-rocks/dotnet/issues/21.
57
+
ICU can be added to an Ubuntu chiseled image, as demonstrated in this [chisel issue](https://github.com/ubuntu-rocks/dotnet/issues/21).
0 commit comments