mirror of https://github.com/docker/docs.git
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:
parent
9fa3548a7a
commit
8b3d0e2214
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue