summaryrefslogtreecommitdiffstats
path: root/tests/docker/dockerfiles
diff options
context:
space:
mode:
authorAlex Bennée2016-07-19 15:20:37 +0200
committerFam Zheng2016-07-20 13:19:43 +0200
commit504ca3c208da7b2ea657b62db146e1e5de74df0f (patch)
tree0c3145d860108afec381879a0660e1f9ac53adf8 /tests/docker/dockerfiles
parenttests/docker/docker.py: docker_dir outside build (diff)
downloadqemu-504ca3c208da7b2ea657b62db146e1e5de74df0f.tar.gz
qemu-504ca3c208da7b2ea657b62db146e1e5de74df0f.tar.xz
qemu-504ca3c208da7b2ea657b62db146e1e5de74df0f.zip
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>
Diffstat (limited to 'tests/docker/dockerfiles')
0 files changed, 0 insertions, 0 deletions