change pre-build to pre_build to remove confusion (#2813)

* change pre-build to pre_build to remove confusion

* clarify that pre_build hook refers to a file
This commit is contained in:
Shubheksha Jalan 2017-04-17 22:29:10 +05:30 committed by Victoria Bialas
parent 9fa3548a7a
commit 8b3d0e2214
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ To learn more about Docker build-time variables, see the [docker build documenta
#### Two-phase build
If your build process requires a component that is not a dependency for your application, you can use a `pre-build` hook to collect and compile required components. In the example below, the hook uses a Docker container to compile a Golang binary required before the build.
If your build process requires a component that is not a dependency for your application, you can use a pre_build hook (refers to the hooks/pre_build file) to collect and compile required components. In the example below, the hook uses a Docker container to compile a Golang binary required before the build.
```bash
#!/bin/bash