From a5276fa675a4ccd32f592ea2a3d28a4f85fb0109 Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 7 Dec 2016 15:57:43 +0800 Subject: Miss call cleanup_docker_image 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 --- ci/build_rpm/build_rpms.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ci/build_rpm') diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh index 279340cd..c7bcf245 100755 --- a/ci/build_rpm/build_rpms.sh +++ b/ci/build_rpm/build_rpms.sh @@ -58,6 +58,5 @@ function cleanup_docker_image { } cleanup_container +cleanup_docker_image build_rpm_pkg -cleanup_container - -- cgit 1.2.3-korg