fixed build command per user feedback (#3930)

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-07-24 14:56:18 -04:00 committed by Misty Stanley-Jones
parent 1c6ff26042
commit 3164a2a9ea
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ Docker Cloud allows you to define build environment variables either in the hook
In the following example, we define a build hook that uses `docker build` arguments to set the variable `CUSTOM` based on the value of variable we defined using the Docker Cloud build settings. `$IMAGE_NAME` is a variable that we provide with the name of the image being built.
```none
docker build --build-arg CUSTOM=$VAR -t $IMAGE_NAME
docker build --build-arg CUSTOM=$VAR -t $IMAGE_NAME .
```
> **Caution**: A `hooks/build` file overrides the basic [docker build](/engine/reference/commandline/build.md) command