From 79ded4f6e2fbde412d0c6d7735a5ba69aa8eb071 Mon Sep 17 00:00:00 2001 From: Christopher Rollings Date: Thu, 23 Feb 2023 23:09:32 +0000 Subject: [PATCH] Update build-container.md Remove misleading sentence --- docs/core/docker/build-container.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/core/docker/build-container.md b/docs/core/docker/build-container.md index e1a9696b34535..327d612ac5e55 100644 --- a/docs/core/docker/build-container.md +++ b/docs/core/docker/build-container.md @@ -144,12 +144,10 @@ DotNet.Docker.deps.json DotNet.Docker.dll DotNet.Docker.exe DotNet.Docker.pdb The *Dockerfile* file is used by the `docker build` command to create a container image. This file is a text file named *Dockerfile* that doesn't have an extension. -Create a file named *Dockerfile* in the directory containing the *.csproj* and open it in a text editor. This tutorial will use the ASP.NET Core runtime image (which contains the .NET runtime image) and corresponds with the .NET console application. +Create a file named *Dockerfile* in the directory containing the *.csproj* and open it in a text editor. This tutorial will use the .Net7 runtime image (which contains the .NET runtime image) and corresponds with the .NET console application. :::code language="docker" source="snippets/App/Dockerfile"::: -> [!NOTE] -> The ASP.NET Core runtime image is used intentionally here, although the `mcr.microsoft.com/dotnet/runtime:7.0` image could have been used. > [!TIP] > This _Dockerfile_ uses multi-stage builds, which optimizes the final size of the image by layering the build and leaving only required artifacts. For more information, see [Docker Docs: multi-stage builds](https://docs.docker.com/build/building/multi-stage/).