From 8b3d0e2214575e2a0601334b64ad7e06c2d0ceca Mon Sep 17 00:00:00 2001 From: Shubheksha Jalan Date: Mon, 17 Apr 2017 22:29:10 +0530 Subject: [PATCH] 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 --- docker-cloud/builds/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-cloud/builds/advanced.md b/docker-cloud/builds/advanced.md index ed915d53d7..5d38525db5 100644 --- a/docker-cloud/builds/advanced.md +++ b/docker-cloud/builds/advanced.md @@ -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