I have a custom build hook to pass in build arguments on a repository from which I build two Docker images (tags), from two Dockerfiles.
My second build, however, with the custom Dockerfile, was not being built correctly. It was being built with the default `Dockerfile`, instead of my specified custom one.
I quickly figured out the custom build hook was to blame because it doesn't specify which Dockerfile it should build from, but there was no mention in the documentation of an environmental variable I can consume to get the custom "Dockerfile location" value. By dumping the env vars during the build process, I can there is an environmental variable with that value: `DOCKERFILE_PATH`.
This PR updates the documentation accordingly, to:
1) Expose the fact this environmental variable exists, and explains its purpose
2) Make sure its consumed in the example custom build hook, so any copy-pasters find themselves already supporting custom Dockerfiles, rather than struggling with the same problem
* Reword lots of instances of 'will'
* Reword lots of instances of won't
* Reword lots of instances of we'll
* Eradicate you'll
* Eradicate 'be able to' type of phrases
* Eradicate 'unable to' type of phrases
* Eradicate 'has / have to' type of phrases
* Eradicate 'note that' type of phrases
* Eradicate 'in order to' type of phrases
* Redirect to official Chef and Puppet docs
* Eradicate gratuitous 'please'
* Reduce use of e.g.
* Reduce use of i.e.
* Reduce use of N.B.
* Get rid of 'sexagesimal' and correct some errors
It seems unclear from documentation what format and other options the docker-compose.test.yml may have. By specifying that its structure is similar to docker-cloud.yml developers will get a hint of where to search for further docker-compose.test.yml specification.
* updated ifconfig to ip addr show w/hints for Docker for Mac, Windows users
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* improved the note on Docker for Mac and Windows
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* update AWS IAM role instructions on Cloud docs
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* optimized images, fixed duplicate text content
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* updated Docker version information for Cloud
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* modified Docker Engine references to Docker x.x
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* improved version information
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* fixed typo per review
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>