On 05/24/2017 02:34 AM, Fam Zheng wrote:
On Wed, 05/24 13:21, Fam Zheng wrote:
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 6ddc6e4c2a..68cca25f89 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -237,6 +237,11 @@ class BuildCommand(SubCommand):
help="""Specify a binary that will be copied to the
container together with all its dependent
libraries""")
+ parser.add_argument("--extra-files", "-f", nargs='*',
+ help="""Specify files that will be sent to the
+ Docker daemon. The daemon will copy those files
into
+ the built image. The ADD directive of the
Dockerfile
+ specify where a file is placed into the image""")
Or more precisely, "The daemon will copy these files into the docker build
directory, which can be copied to the built image with ADD directives in
Dockerfile"?
Hmm, not copied by daemon, maybe "The files will be sent...". But you have the
idea.
I tried to keep it simple like this:
"Specify files that will be copied in the Docker image, fulfilling the
ADD directives from the Dockerfile"