Merge pull request #611 from bfirsh/remove-binaries-after-building-image

Remove binaries in build after building image
This commit is contained in:
Evan Hazlett 2015-02-25 13:20:19 -05:00
commit 32214794d5
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ else
OS_ARCH_ARG=($2) OS_ARCH_ARG=($2)
fi fi
rm -f docker-machine*
docker build -t docker-machine . docker build -t docker-machine .
rm -f docker-machine*
exec docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" -output="docker-machine_{{.OS}}-{{.Arch}}" exec docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" -output="docker-machine_{{.OS}}-{{.Arch}}"