1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

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

View File

@@ -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}}"