Skip to content
Snippets Groups Projects
Commit 4c8f6682 authored by Tim Emiola's avatar Tim Emiola
Browse files

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

Prevent failed docker builds from accumulating
parents 41aab15c 37aad2a2
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment