Browse code

Add some helper text for magical ADD

Closes: #15777

Signed-off-by: Doug Davis <dug@us.ibm.com>

Doug Davis authored on 2016/01/23 01:52:36
Showing 1 changed files
... ...
@@ -643,6 +643,14 @@ guide](../articles/dockerfile_best-practices.md#build-cache) for more informatio
643 643
     2. The contents of the source tree, with conflicts resolved in favor
644 644
        of "2." on a file-by-file basis.
645 645
 
646
+  > **Note**:
647
+  > Whether a file is identified as a recognized compression format or not
648
+  > is done soley based on the contents of the file, not the name of the file.
649
+  > For example, if an empty file happens to end with `.tar.gz` this will not
650
+  > be recognized as a compressed file and **will not** generate any kind of
651
+  > decompression error message, rather the file will simply be copied to the
652
+  > destination.
653
+
646 654
 - If `<src>` is any other kind of file, it is copied individually along with
647 655
   its metadata. In this case, if `<dest>` ends with a trailing slash `/`, it
648 656
   will be considered a directory and the contents of `<src>` will be written