Pārlūkot izejas kodu

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>
Bastiaan Bakker 9 gadi atpakaļ
vecāks
revīzija
f982f08c50
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      docs/reference/builder.md

+ 2 - 2
docs/reference/builder.md

@@ -579,7 +579,7 @@ The `<dest>` is an absolute path, or a path relative to `WORKDIR`, into which
 the source will be copied inside the destination container.
 
     ADD test relativeDir/          # adds "test" to `WORKDIR`/relativeDir/
-    ADD test /absoluteDir          # adds "test" to /absoluteDir
+    ADD test /absoluteDir/         # adds "test" to /absoluteDir/
 
 All new files and directories are created with a UID and GID of 0.
 
@@ -691,7 +691,7 @@ The `<dest>` is an absolute path, or a path relative to `WORKDIR`, into which
 the source will be copied inside the destination container.
 
     COPY test relativeDir/   # adds "test" to `WORKDIR`/relativeDir/
-    COPY test /absoluteDir   # adds "test" to /absoluteDir
+    COPY test /absoluteDir/  # adds "test" to /absoluteDir/
 
 All new files and directories are created with a UID and GID of 0.