Replaces ADD with COPY in the COPY section

Possibly a typo from reusing text from the ADD section.

Signed-off-by: Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com>
(cherry picked from commit 86cbe28510)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
eyherabh 2020-07-17 22:18:02 +03:00 committed by Sebastiaan van Stijn
parent 9152bf265e
commit 5c5486d910
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 2 deletions

View File

@ -1276,11 +1276,11 @@ COPY test.txt /absoluteDir/
When copying files or directories that contain special characters (such as `[`
and `]`), you need to escape those paths following the Golang rules to prevent
them from being treated as a matching pattern. For example, to add a file
them from being treated as a matching pattern. For example, to copy a file
named `arr[0].txt`, use the following;
```dockerfile
ADD arr[[]0].txt /mydir/
COPY arr[[]0].txt /mydir/
```
All new files and directories are created with a UID and GID of 0, unless the