summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/build_rpm/build_rpms.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh
index e4b0cae9..2175bd97 100755
--- a/ci/build_rpm/build_rpms.sh
+++ b/ci/build_rpm/build_rpms.sh
@@ -38,6 +38,10 @@ function cleanup_container {
echo "Stopping containers... $containers_to_kill"
sudo docker stop -t 2 ${containers_to_kill}
echo "Removing containers... $containers_to_kill"
+
+ # Prevent "removal of container daisy is already in progress"
+ sleep 10
+
sudo docker rm -v -f ${containers_to_kill}
if [[ ! -z "$volumes_to_remove" ]]; then