mirror of https://github.com/linkerd/linkerd2.git
				
				
				
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			515 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			515 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
set -eu
 | 
						|
 | 
						|
bindir=$( cd "${BASH_SOURCE[0]%/*}" && pwd )
 | 
						|
 | 
						|
# shellcheck source=_docker.sh
 | 
						|
. "$bindir"/_docker.sh
 | 
						|
# shellcheck source=_tag.sh
 | 
						|
. "$bindir"/_tag.sh
 | 
						|
 | 
						|
docker_image() {
 | 
						|
    repo=$(docker_repo "$1")
 | 
						|
    docker image ls \
 | 
						|
        --format "{{printf \"%-16s %-10s\" \"$1\" \"${2}\"}} {{.Size | printf \"%6s\"}}  {{.ID}}  {{.CreatedAt}}" \
 | 
						|
        "${repo}:${2}"
 | 
						|
}
 | 
						|
 | 
						|
tag=$(head_root_tag)
 | 
						|
 | 
						|
for img in cli-bin cni-plugin controller debug grafana proxy web ; do
 | 
						|
    docker_image $img "$tag"
 | 
						|
done
 |