linkerd2/bin/docker-build-cli

17 lines
312 B
Bash
Executable File

#!/bin/sh
set -eu
if [ $# -ne 0 ]; then
echo "no arguments allowed for $(basename $0), given: $@" >&2
exit 64
fi
. bin/_docker.sh
. bin/_tag.sh
# Build gcr.io/runconduit/cli-bin, which is used by cli/Dockerfile.
bin/docker-build-cli-bin >/dev/null
docker_build cli "$(head_root_tag)" cli/Dockerfile