1. 20 7月, 2016 2 次提交
    • 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
    • A
      tests/docker/docker.py: docker_dir outside build · a9f8d038
      Alex Bennée 提交于
      Instead of letting the build_image create the temporary working dir we
      move the creation to the build command. This is preparation for the
      later patches where additional files can be added to the build context
      before the build step is run.
      
      We also ensure we remove the build context after we are done (mkdtemp
      doesn't do this automatically for you).
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Message-id: 1468934445-32183-2-git-send-email-famz@redhat.com
      Signed-off-by: NFam Zheng <famz@redhat.com>
      a9f8d038
  2. 19 7月, 2016 29 次提交
  3. 18 7月, 2016 9 次提交