From e57775ed25c9974b29986e6135324e10382af2f2 Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Tue, 15 Aug 2023 10:37:38 +0800 Subject: [PATCH] fix(multi-stage): fix outdated stage name reference In commit 2a6f7eac80, the Dockerfile under the section "Name your build stages" was updated, the build stage was renamed from "builder" to "build". However, the next section was still using the old build stage name. Fixes: 2a6f7eac80 ("freshness: update top pages in the build section") Signed-off-by: Eng Zer Jun --- build/building/multi-stage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/building/multi-stage.md b/build/building/multi-stage.md index 065a92555c..09416b54d5 100644 --- a/build/building/multi-stage.md +++ b/build/building/multi-stage.md @@ -92,7 +92,7 @@ CMD ["/bin/hello"] When you build your image, you don't necessarily need to build the entire Dockerfile including every stage. You can specify a target build stage. The following command assumes you are using the previous `Dockerfile` but stops at -the stage named `builder`: +the stage named `build`: ```console $ docker build --target build -t hello .