mirror of https://github.com/linkerd/linkerd2.git
20 lines
431 B
Bash
Executable File
20 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
if [ $# -ne 0 ]; then
|
|
echo "no arguments allowed for $(basename $0), given: $@" >&2
|
|
exit 64
|
|
fi
|
|
|
|
bindir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
rootdir="$( cd $bindir/.. && pwd )"
|
|
|
|
. $bindir/_docker.sh
|
|
. $bindir/_tag.sh
|
|
|
|
# Build gcr.io/runconduit/cli-bin, which is used by cli/Dockerfile.
|
|
$bindir/docker-build-cli-bin >/dev/null
|
|
|
|
docker_build cli "$(head_root_tag)" $rootdir/cli/Dockerfile
|