diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2016-12-07 15:57:43 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2016-12-12 11:01:18 +0800 |
commit | a5276fa675a4ccd32f592ea2a3d28a4f85fb0109 (patch) | |
tree | 05d0c4433e69f27ad6809b6cd839278302282c2f /ci/build_rpm | |
parent | 4f35bbabe430b7f63cf22e798cc2eb6a6dfe02d3 (diff) |
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 <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'ci/build_rpm')
-rwxr-xr-x | ci/build_rpm/build_rpms.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 - |