mirror of https://github.com/linkerd/linkerd2.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			413 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			413 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
set -eu
 | 
						|
 | 
						|
if [ $# -ne 0 ]; then
 | 
						|
    echo "no arguments allowed for ${0##*/}, given: $*" >&2
 | 
						|
    exit 64
 | 
						|
fi
 | 
						|
 | 
						|
bindir=$( cd "${BASH_SOURCE[0]%/*}" && pwd )
 | 
						|
rootdir=$( cd "$bindir"/.. && pwd )
 | 
						|
 | 
						|
# shellcheck source=_docker.sh
 | 
						|
. "$bindir"/_docker.sh
 | 
						|
# shellcheck source=_tag.sh
 | 
						|
. "$bindir"/_tag.sh
 | 
						|
 | 
						|
dockerfile=$rootdir/cni-plugin/Dockerfile
 | 
						|
 | 
						|
docker_build cni-plugin "$(head_root_tag)" "$dockerfile"
 |