Browse code

add missing trailing slash in ADD and COPY /absoluteDir examples. According to the specs they are mandatory.

Signed-off-by: Bastiaan Bakker <bbakker@xebia.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Bastiaan Bakker authored on 2016/02/17 06:36:51
Showing 1 changed files
... ...
@@ -579,7 +579,7 @@ The `<dest>` is an absolute path, or a path relative to `WORKDIR`, into which
579 579
 the source will be copied inside the destination container.
580 580
 
581 581
     ADD test relativeDir/          # adds "test" to `WORKDIR`/relativeDir/
582
-    ADD test /absoluteDir          # adds "test" to /absoluteDir
582
+    ADD test /absoluteDir/         # adds "test" to /absoluteDir/
583 583
 
584 584
 All new files and directories are created with a UID and GID of 0.
585 585
 
... ...
@@ -691,7 +691,7 @@ The `<dest>` is an absolute path, or a path relative to `WORKDIR`, into which
691 691
 the source will be copied inside the destination container.
692 692
 
693 693
     COPY test relativeDir/   # adds "test" to `WORKDIR`/relativeDir/
694
-    COPY test /absoluteDir   # adds "test" to /absoluteDir
694
+    COPY test /absoluteDir/  # adds "test" to /absoluteDir/
695 695
 
696 696
 All new files and directories are created with a UID and GID of 0.
697 697