mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Merge pull request #17927 from Juneezee/main
fix(multi-stage): fix outdated stage name reference
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user