]> git.proxmox.com Git - mirror_qemu.git/commit
tests/docker/docker.py: support --include-executable
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 19 Jul 2016 13:20:37 +0000 (21:20 +0800)
committerFam Zheng <famz@redhat.com>
Wed, 20 Jul 2016 11:19:43 +0000 (19:19 +0800)
commit504ca3c208da7b2ea657b62db146e1e5de74df0f
tree0c3145d860108afec381879a0660e1f9ac53adf8
parenta9f8d03891c6ab28b88b75fa3080436ab4bf1dcc
tests/docker/docker.py: support --include-executable

When passed the path to a binary we copy it and any linked libraries (if
it is dynamically linked) into the docker build context. These can then
be included by a dockerfile with the line:

  # Copy all of context into container
  ADD . /

This is mainly intended for setting up foreign architecture docker
images which use qemu-$arch to do cross-architecture linux-user
execution. It also relies on the host and guest file-system following
reasonable multi-arch layouts so the copied libraries don't clash with
the guest ones.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1468934445-32183-3-git-send-email-famz@redhat.com
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/docker.py