mirror of https://github.com/docker/docs.git
Merge pull request #611 from bfirsh/remove-binaries-after-building-image
Remove binaries in build after building image
This commit is contained in:
commit
32214794d5
|
@ -13,6 +13,6 @@ else
|
|||
OS_ARCH_ARG=($2)
|
||||
fi
|
||||
|
||||
rm -f 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}}"
|
||||
|
|
Loading…
Reference in New Issue