Miss call cleanup_docker_image 03/25603/2
authorJulien <zhang.jun3g@zte.com.cn>
Wed, 7 Dec 2016 07:57:43 +0000 (15:57 +0800)
committerJulien <zhang.jun3g@zte.com.cn>
Mon, 12 Dec 2016 03:01:18 +0000 (11:01 +0800)
1. The function 'cleanup_docker_image' is not called by mistake.
2. Use 'docker run --rm' means: docker will automatically delete the
containers. It's not necessary to call it in the end of bash file.
according to the log: 'No containers to cleanup.'

Change-Id: I67b9ff3ed193467669b80d5a19e36fd077af537d
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
ci/build_rpm/build_rpms.sh

index 279340c..c7bcf24 100755 (executable)
@@ -58,6 +58,5 @@ function cleanup_docker_image {
 }
 
 cleanup_container
+cleanup_docker_image
 build_rpm_pkg
-cleanup_container
-