From 3ba5070af064b62dd57639b17f1c24a91ad8cca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Tue, 29 Sep 2015 10:35:04 +0300 Subject: [PATCH] Clean up cross compiler container after build. --- xgo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xgo.go b/xgo.go index c321cda..6f0a1d1 100644 --- a/xgo.go +++ b/xgo.go @@ -210,7 +210,7 @@ func compile(repo string, image string, remote string, branch string, pack strin fmt.Printf("Cross compiling %s...\n", repo) args := []string{ - "run", + "run", "--rm", "-v", folder + ":/build", "-v", depsCache + ":/deps-cache:ro", "-e", "REPO_REMOTE=" + remote,