• A
    tests/docker/docker.py: support --include-executable · 504ca3c2
    Alex Bennée 提交于
    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: NAlex Bennée <alex.bennee@linaro.org>
    Message-id: 1468934445-32183-3-git-send-email-famz@redhat.com
    Signed-off-by: NFam Zheng <famz@redhat.com>
    504ca3c2
docker.py 8.4 KB