Преглед на файлове

Update documents of `dispatchAdd`

`ADD` does not support git.

Ref: https://github.com/moby/moby/issues/14704#issuecomment-298134333

Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
Yuichiro Kaneko преди 7 години
родител
ревизия
9b374801ac
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      builder/dockerfile/dispatchers.go

+ 1 - 1
builder/dockerfile/dispatchers.go

@@ -89,7 +89,7 @@ func dispatchLabel(d dispatchRequest, c *instructions.LabelCommand) error {
 
 
 // ADD foo /path
 // ADD foo /path
 //
 //
-// Add the file 'foo' to '/path'. Tarball and Remote URL (git, http) handling
+// Add the file 'foo' to '/path'. Tarball and Remote URL (http, https) handling
 // exist here. If you do not wish to have this automatic handling, use COPY.
 // exist here. If you do not wish to have this automatic handling, use COPY.
 //
 //
 func dispatchAdd(d dispatchRequest, c *instructions.AddCommand) error {
 func dispatchAdd(d dispatchRequest, c *instructions.AddCommand) error {