Merge pull request #3426 from ejona86/cleanup-failed-containers

Prevent failed docker builds from accumulating
pull/3437/head
Tim Emiola 9 years ago
commit 4c8f6682c2
  1. 2
      tools/gce_setup/shared_startup_funcs.sh

@ -448,7 +448,7 @@ grpc_dockerfile_install() {
}
# TODO(temiola): maybe make cache/no-cache a func option?
sudo docker build $cache_opt -t $image_label $dockerfile_dir || {
sudo docker build --force-rm=true $cache_opt -t $image_label $dockerfile_dir || {
echo "$FUNCNAME:: build of $image_label <- $dockerfile_dir"
return 1
}

Loading…
Cancel
Save