You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by bo...@apache.org on 2020/11/16 20:24:28 UTC

[beam] branch master updated: [BEAM-11263] Java cleanUpDockerImages now force removes container images.

This is an automated email from the ASF dual-hosted git repository.

boyuanz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 78b9d05  [BEAM-11263] Java cleanUpDockerImages now force removes container images.
     new 7ac82a8  Merge pull request #13344 from [BEAM-11263] Java cleanUpDockerImages now force removes container images.
78b9d05 is described below

commit 78b9d0575f9146296027d7c02ea48cd70a7bcd31
Author: Tyson Hamilton <ty...@google.com>
AuthorDate: Fri Nov 13 22:56:00 2020 +0000

    [BEAM-11263] Java cleanUpDockerImages now force removes container images.
---
 runners/google-cloud-dataflow-java/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runners/google-cloud-dataflow-java/build.gradle b/runners/google-cloud-dataflow-java/build.gradle
index c791a20..95d2ba9 100644
--- a/runners/google-cloud-dataflow-java/build.gradle
+++ b/runners/google-cloud-dataflow-java/build.gradle
@@ -251,7 +251,7 @@ task buildAndPushDockerContainer() {
 task cleanUpDockerImages() {
   doLast {
     exec {
-      commandLine "docker", "rmi", "${dockerImageName}"
+      commandLine "docker", "rmi", "--force", "${dockerImageName}"
     }
     exec {
       commandLine "gcloud", "--quiet", "container", "images", "delete", "--force-delete-tags", "${dockerImageName}"