Sfoglia il codice sorgente

Clean container when done.

Rob Austein 6 anni fa
parent
commit
86aad87708
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      baiji

+ 3 - 0
baiji

@@ -199,6 +199,9 @@ def build(args):
                         with open(os.path.join(dn, fn), "w") as f:
                             f.write(tar.extractfile(member).read())
 
+        with Docker("rm", container_name):
+            pass
+
 
 # Parse arguments and dispatch to one of the commands above.