tests/docker/docker.py: add update operation
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 19 Jul 2016 13:20:40 +0000 (21:20 +0800)
committerFam Zheng <famz@redhat.com>
Wed, 20 Jul 2016 11:19:43 +0000 (19:19 +0800)
commit6e733da676a5483314d86f1bcb14950a165b0e6f
treebed329bf9fcb3c87ad8ba51cc8d17b3f461f8d22
parent95c975013a15405a5ab257deae843ecd2eea20ec
tests/docker/docker.py: add update operation

This adds a new operation to the docker script to allow updating of
binaries in an existing container. This is because it would be
inefficient to re-build the whole container just for an update to the
QEMU binary.

To update the executable run:

    ./tests/docker/docker.py update \
        debian:armhf ./arm-linux-user/qemu-arm

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