From f4a3e8bef0070af6ad883fd06e504a8b1d4c93ba Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Mon, 8 Jun 2015 16:29:12 -0700 Subject: [PATCH] Fix COPY/ADD quoted/json form Minor tweak to the quoted/json form and made man page look like the Dockerfile docs. W/o the `,` people may think there should be a space delimited list. Signed-off-by: Doug Davis --- docs/man/Dockerfile.5.md | 4 ++-- docs/sources/reference/builder.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/man/Dockerfile.5.md b/docs/man/Dockerfile.5.md index 5a3cc92a55..b4ef771a45 100644 --- a/docs/man/Dockerfile.5.md +++ b/docs/man/Dockerfile.5.md @@ -196,7 +196,7 @@ A Dockerfile is similar to a Makefile. ADD # Required for paths with whitespace - ADD ["", ""] + ADD ["",... ""] ``` The **ADD** instruction copies new files, directories @@ -215,7 +215,7 @@ A Dockerfile is similar to a Makefile. COPY # Required for paths with whitespace - COPY ["", ""] + COPY ["",... ""] ``` The **COPY** instruction copies new files from `` and diff --git a/docs/sources/reference/builder.md b/docs/sources/reference/builder.md index fb4d5ce1d7..e847446286 100644 --- a/docs/sources/reference/builder.md +++ b/docs/sources/reference/builder.md @@ -492,7 +492,7 @@ change them using `docker run --env =`. ADD has two forms: - `ADD ... ` -- `ADD [""... ""]` (this form is required for paths containing +- `ADD ["",... ""]` (this form is required for paths containing whitespace) The `ADD` instruction copies new files, directories or remote file URLs from `` @@ -596,7 +596,7 @@ The copy obeys the following rules: COPY has two forms: - `COPY ... ` -- `COPY [""... ""]` (this form is required for paths containing +- `COPY ["",... ""]` (this form is required for paths containing whitespace) The `COPY` instruction copies new files or directories from ``