aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-09-23 09:23:44 -0700
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-09-23 09:23:44 -0700
commit4c8f6682c2f5171e6c27af5a768d25f9fe6aac0d (patch)
treec8646a37a44c168d4495405dfc0199f649d44d10
parent41aab15c74130ae36850d88c8bea0063c83236e7 (diff)
parent37aad2a29a6212178b60f9ea31394fc0dc424343 (diff)
Merge pull request #3426 from ejona86/cleanup-failed-containers
Prevent failed docker builds from accumulating
-rwxr-xr-xtools/gce_setup/shared_startup_funcs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gce_setup/shared_startup_funcs.sh b/tools/gce_setup/shared_startup_funcs.sh
index ffa0875153..a0b45e9458 100755
--- a/tools/gce_setup/shared_startup_funcs.sh
+++ b/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
}