From 9b374801ac843c3401bfb21d8fd5e205d0bba0d3 Mon Sep 17 00:00:00 2001 From: Yuichiro Kaneko Date: Tue, 3 Jul 2018 08:51:07 +0900 Subject: [PATCH] Update documents of `dispatchAdd` `ADD` does not support git. Ref: https://github.com/moby/moby/issues/14704#issuecomment-298134333 Signed-off-by: Yuichiro Kaneko --- builder/dockerfile/dispatchers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/dockerfile/dispatchers.go b/builder/dockerfile/dispatchers.go index 1032c6cdad..f59b7c844c 100644 --- a/builder/dockerfile/dispatchers.go +++ b/builder/dockerfile/dispatchers.go @@ -89,7 +89,7 @@ func dispatchLabel(d dispatchRequest, c *instructions.LabelCommand) error { // 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. // func dispatchAdd(d dispatchRequest, c *instructions.AddCommand) error {