summaryrefslogtreecommitdiff
path: root/docs/reference/builder.md
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22876 from Microsoft/jjh/docsclarificationSebastiaan van Stijn2016-05-251-0/+9
| | | | | | Docs: JSON vs Shell clarification (cherry picked from commit e3079b470494a596bc8b35bc682e7c82ac9f0f9f) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Merge pull request #22727 from clawconduce/masterSebastiaan van Stijn2016-05-251-1/+1
| | | | | | | Fix error for env variables example in docker reference (cherry picked from commit 3723b8840671a5f85c43c9c1df6661f751c312fe) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Merge pull request #22672 from kevinmeredith/correct_trapped_signalsSven Dowideit2016-05-131-1/+1
| | | | | | | Correct docs for a docker container's clean-up. (cherry picked from commit c273163e80da5f5895db1dc1102a470ec45e0a69) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* make the cache miss clearmikelinjie2016-04-061-8/+29
| | | | | | Signed-off-by: mikelinjie <294893458@qq.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 66b8714da4e92b3587cbbf25116541f4de63169e)
* WORKDIR is like calling mkdir - but we've not told peopleSven Dowideit2016-03-221-0/+2
| | | | Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
* Docs: add note about CMD and ENTRYPOINT commandsTomasz Kopczynski2016-02-241-0/+23
| | | | Signed-off-by: Tomasz Kopczynski <tomek@kopczynski.net.pl>
* add missing trailing slash in ADD and COPY /absoluteDir examples. According ↵Bastiaan Bakker2016-02-161-2/+2
| | | | | | to the specs they are mandatory. Signed-off-by: Bastiaan Bakker <bbakker@xebia.com>
* fix common misspellVictor Vieux2016-02-111-2/+2
| | | | Signed-off-by: Victor Vieux <vieux@docker.com>
* Fix typoPrayag Verma2016-02-011-1/+1
| | | Signed-off-by: Prayag Verma <prayag.verma@gmail.com>
* Creating Engine specific menuMary Anthony2016-01-261-8/+9
| | | | | | | | | | | Fixing the links Updating with Seb's comments Adding weight Fixing the engine aliases Updating after Arun pushed Removing empty file Signed-off-by: Mary Anthony <mary@docker.com>
* Add some helper text for magical ADDDoug Davis2016-01-221-0/+8
| | | | | | Closes: #15777 Signed-off-by: Doug Davis <dug@us.ibm.com>
* Fix ambassador script based on SvenDowideit/dockerfiles#37Aidan Hobson Sayers2016-01-081-1/+1
| | | | Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* Add some docs about build-arg's impact on the cacheDoug Davis2015-11-231-1/+35
| | | | | | Closes #18017 Signed-off-by: Doug Davis <dug@us.ibm.com>
* Fixes found by docs validation toolSven Dowideit2015-11-231-1/+1
| | | | Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
* Merge pull request #17090 from duglin/dockerignoreWildcardsAlexander Morozov2015-11-131-0/+5
|\ | | | | Support multi-dir wildcards in .dockerignore
| * Support multi-dir wildcards in .dockerignoreDoug Davis2015-11-131-0/+5
| | | | | | | | | | | | Closes #13113 Signed-off-by: Doug Davis <dug@us.ibm.com>
* | First pass at consolidatingMary Anthony2015-11-021-42/+46
|/ | | | | | | | | | | | | | | | | | | | | | | | Removing old networking.md Updating dockernetworks.md with images Adding information on network plugins Adding blurb about links to docker networking Updating the working documentation Adding Overlay Getting Started Downplaying links by removing refs/examples, adding refs/examples for network. Updating getting started to reflect networks not links Pulling out old network material Updating per discussion with Madhu to add Default docs section Updating with bridge default Fix bad merge Updating with new cluster-advertise behavior Update working and NetworkSettings examples Correcting example for default bridge discovery behavior Entering comments Fixing broken Markdown Syntax Updating with comments Updating all the links Signed-off-by: Mary Anthony <mary@docker.com>
* Add ability to add multiple tags with docker buildShijiang Wei2015-10-241-0/+5
| | | | Signed-off-by: Shijiang Wei <mountkin@gmail.com>
* Merge pull request #16801 from aidanhs/aphs-add-socat-tSven Dowideit2015-10-201-10/+12
|\ | | | | Update ambassador image, use the socat -t option
| * Update ambassador image, use the socat -t optionAidan Hobson Sayers2015-10-061-10/+12
| | | | | | | | Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* | updating docs for EXPOSE option on run command; fixes #16634Mike Brown2015-10-131-11/+9
| | | | | | | | Signed-off-by: Mike Brown <brownwm@us.ibm.com>
* | Enabled GitHub Flavored MarkdownMary Anthony2015-10-111-16/+15
| | | | | | | | | | | | | | | | GitHub flavored markdown is now supported for links and images. Also, ran LinkChecker and FileResolver. Yay! Fixes from Spider check Output for docker/docker now goes into engine directory Signed-off-by: Mary Anthony <mary@docker.com>
* | Merge pull request #15265 from greaber/dockerignore-docsmoxiegirl2015-10-081-42/+66
|\ \ | | | | | | Further clarifications to .dockerignore docs
| * | clarify dockerignore semanticsGrant Reaber2015-10-071-42/+66
| | | | | | | | | | | | Signed-off-by: Grant Reaber <grant.reaber@gmail.com>
* | | Mention more realistic examples are availableAidan Hobson Sayers2015-10-071-0/+3
| | | | | | | | | | | | Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* | | Don't put dockerfiles in one continuous code blockAidan Hobson Sayers2015-10-061-35/+40
|/ / | | | | | | Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* | Merge pull request #16109 from charleswhchan/patch-3moxiegirl2015-09-271-37/+46
|\ \ | | | | | | Touch up "Dockerfile reference"
| * | Touch up "Dockerfile reference"Charles Chan2015-09-271-37/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | - add example for `docker build -f ...` - modifiy `FROM` explaination into bullet points - add/clarify examples for `LABEL` and `ADD` instructions - fix review comments (PR #16109) Signed-off-by: Charles Chan <charleswhchan@users.noreply.github.com>
* | | Merge pull request #16338 from twaugh/env-replacement-labelmoxiegirl2015-09-271-0/+1
|\ \ \ | | | | | | | | Add documentation note that LABEL allows environment replacement
| * | | Add documentation note that LABEL allows environment replacementTim Waugh2015-09-161-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Waugh <twaugh@redhat.com>
* | | | incorporate doc review commentsMadhav Puri2015-09-161-11/+12
| | | | | | | | | | | | | | | | Signed-off-by: Madhav Puri <madhav.puri@gmail.com>
* | | | Support for passing build-time variables in build contextMadhav Puri2015-09-161-0/+121
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The build-time variables are passed as environment-context for command(s) run as part of the RUN primitve. These variables are not persisted in environment of intermediate and final images when passed as context for RUN. The build environment is prepended to the intermediate continer's command string for aiding cache lookups. It also helps with build traceability. But this also makes the feature less secure from point of view of passing build time secrets. - The build-time variables also get used to expand the symbols used in certain Dockerfile primitves like ADD, COPY, USER etc, without an explicit prior definiton using a ENV primitive. These variables get persisted in the intermediate and final images whenever they are expanded. - The build-time variables are only expanded or passed to the RUN primtive if they are defined in Dockerfile using the ARG primitive or belong to list of built-in variables. HTTP_PROXY, HTTPS_PROXY, http_proxy, https_proxy, FTP_PROXY and NO_PROXY are built-in variables that needn't be explicitly defined in Dockerfile to use this feature. Signed-off-by: Madhav Puri <madhav.puri@gmail.com>
* | | update documentation styling as per suggestionsAmen Belayneh2015-09-141-6/+11
| | | | | | | | | | | | Signed-off-by: Amen Belayneh <amenbelayneh@gmail.com>
* | | add a documentation note on backslash usage in shell form of RUNAmen Belayneh2015-09-121-0/+6
| | | | | | | | | | | | Signed-off-by: Amen Belayneh <amenbelayneh@gmail.com>
* | | Add `STOPSIGNAL` instruction to dockerfiles.David Calavera2015-09-101-0/+9
|/ / | | | | | | | | | | This way, images creators can set the exit signal their programs use. Signed-off-by: David Calavera <david.calavera@gmail.com>
* | add missing instructionbin liu2015-08-191-0/+1
| | | | | | | | Signed-off-by: bin liu <liubin0329@gmail.com>
* | remove references to 'source repository'Morgan Bauer2015-08-181-40/+42
| | | | | | | | | | | | | | | | | | | | - rewrite intro to Dockerfile reference usage section to remove references to 'source repository' - Closes #14714 - Fixes: #8648 - Updating with Seb's comments Signed-off-by: Mary Anthony <mary@docker.com>
* | Updating hashcode links to commandsMary Anthony2015-08-181-2/+2
| | | | | | | | Signed-off-by: Mary Anthony <mary@docker.com>
* | Merge pull request #15337 from phemmer/doc-builder-volumemoxiegirl2015-08-181-0/+4
|\ \ | | | | | | add documentation clarifying behavior of VOLUME instruction
| * | add documentation clarifying behavior of VOLUME instructionPatrick Hemmer2015-08-051-0/+4
| | | | | | | | | | | | Signed-off-by: Patrick Hemmer <patrick.hemmer@gmail.com>
* | | Fixing docs to remove references to links under terms/Dharmit Shah2015-08-151-2/+2
| | | | | | | | | | | | | | | | | | Removed terms/ directory Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* | | Remove note from docker version 1.3 on Env variablesAnkush Agarwal2015-08-071-6/+0
|/ / | | | | | | | | | | Fixes #14734 Signed-off-by: Ankush Agarwal <ankushagarwal11@gmail.com>
* | Merge pull request #14735 from charleswhchan/patch-1Jessie Frazelle2015-07-271-6/+12
|\ \ | | | | | | Minor edits to Environment variables section
| * | Minor edits to Environment variables sectionCharles Chan2015-07-241-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Clarify the list of supported instructions. * Clarify behavior of ONBUILD, based on comments by @SvenDowideit, @theJeztah in PR #14735. * Reorder list of instructions in alphabetical order. Signed-off-by: Charles Chan <charleswhchan@users.noreply.github.com>
* | | Fix typoJohn Tims2015-07-261-1/+1
| | | | | | | | | Signed-off-by: John Tims <john.k.tims@gmail.com>
* | | Fix typo in builder.mb .dockerignore examplejgeiger2015-07-221-1/+1
|/ / | | | | | | Signed-off-by: jgeiger <jgeiger@gmail.com>
* | Merge pull request #14095 from timwraight/masterSebastiaan van Stijn2015-07-071-6/+7
|\ \ | | | | | | Clarify .dockerignore example for Markdown files
| * | Clarify .dockerignore example for Markdown filesTim Wraight2015-06-221-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | The current documentation correctly states that dockerignore pattern searches are non-recursive. However, the example given for Markdown files seems to contradict this by saying that `*.md` will exclude *all* Markdown files. This commit clarifies the situation by explicitly specifying that `*.md` will only exclude files in the root directory of the project. Signed-off-by: Tim Wraight <tim.wraight@tangentlabs.co.uk>
* | Fix a broken anchor tag on the CLI builder pageChris McKinnel2015-06-261-1/+1
|/ | | | Signed-off-by: Chris McKinnel <chrismckinnel@gmail.com>
* retooling for hugoMary Anthony2015-06-151-0/+1050
Tweaking for Hugo Updating the Dockerfile with new sed; fix broken link on Kitematic Fixing image pull for Dockerfile Removing docs targets Signed-off-by: Mary Anthony <mary@docker.com>