瀏覽代碼

Clean container when done.

Rob Austein 6 年之前
父節點
當前提交
86aad87708
共有 1 個文件被更改,包括 3 次插入0 次删除
  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.