mirror of https://github.com/linkerd/linkerd2.git
21 lines
345 B
Bash
Executable File
21 lines
345 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Builds (or pulls) our base runtime docker image.
|
|
|
|
set -eu
|
|
|
|
if [ $# -ne 0 ]; then
|
|
echo "no arguments allowed for $(basename $0), given: $@" >&2
|
|
exit 64
|
|
fi
|
|
|
|
. bin/_docker.sh
|
|
|
|
tag="2017-10-30.01"
|
|
|
|
if (docker_pull base "${tag}"); then
|
|
echo "$(docker_repo base):${tag}"
|
|
else
|
|
docker_build base "${tag}" Dockerfile-base
|
|
fi
|