Clean up cross compiler container after build.

This commit is contained in:
Péter Szilágyi 2015-09-29 10:35:04 +03:00
parent 4d63734402
commit 3ba5070af0
1 changed files with 1 additions and 1 deletions

2
xgo.go
View File

@ -210,7 +210,7 @@ func compile(repo string, image string, remote string, branch string, pack strin
fmt.Printf("Cross compiling %s...\n", repo) fmt.Printf("Cross compiling %s...\n", repo)
args := []string{ args := []string{
"run", "run", "--rm",
"-v", folder + ":/build", "-v", folder + ":/build",
"-v", depsCache + ":/deps-cache:ro", "-v", depsCache + ":/deps-cache:ro",
"-e", "REPO_REMOTE=" + remote, "-e", "REPO_REMOTE=" + remote,