]> xenbits.xensource.com Git - qemu-xen.git/commit
tests/docker/docker.py: docker_dir outside build
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 19 Jul 2016 13:20:36 +0000 (21:20 +0800)
committerFam Zheng <famz@redhat.com>
Wed, 20 Jul 2016 11:19:43 +0000 (19:19 +0800)
commita9f8d03891c6ab28b88b75fa3080436ab4bf1dcc
treec71b02a83793f210c14d9a3871b09785a34944af
parent5d3217340adcb6c4f0e4af5d2b865331eb2ff63d
tests/docker/docker.py: docker_dir outside build

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