Fam Zheng 0b95ff72cb docker.py: Improve subprocess exit code handling
A few error handlings are missing because we ignore the subprocess exit
code, for example "docker build" errors are currently ignored.

Introduce _do_check() aside the existing _do() method and use it in a
few places.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170712075528.22770-3-famz@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
2017-07-17 11:34:20 +08:00
..
2017-07-11 17:45:00 +02:00
2017-06-20 14:31:31 +02:00
2017-05-18 10:01:08 +01:00
2017-06-20 14:31:31 +02:00
2017-06-04 18:42:55 +03:00
2017-05-30 16:09:48 -03:00
2017-06-06 20:18:35 +02:00
2017-07-14 11:04:34 +02:00
2017-07-11 17:44:57 +02:00