qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 02/24] docker: add --include-files argument t


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH v3 02/24] docker: add --include-files argument to 'build' command
Date: Fri, 26 May 2017 20:18:56 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]