moby/hack/make/install-binary-client
Brian Goff 9bb54f89ad
Add make install task
This installs docker and dockerd to `$DOCKER_MAKE_INSTALL_PREFIX/bin`, which
defaults to `/usr/local/bin`

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-03 12:08:33 +02:00

10 lines
169 B
Bash

#!/bin/bash
set -e
rm -rf "$DEST"
(
DEST="$(dirname $DEST)/binary-client"
source "${MAKEDIR}/.binary-setup"
install_binary "${DEST}/${DOCKER_CLIENT_BINARY_NAME}"
)