|
@ -14,13 +14,17 @@ if [ "$exname" == "bash" ]; then |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
for bin in apt-get grep dpkg file lsb_release; do |
|
|
|
|
|
|
|
|
for bin in apt-get grep dpkg file lsb_release yq; do |
|
|
if ! type -p "$bin" >/dev/null; then |
|
|
if ! type -p "$bin" >/dev/null; then |
|
|
echo "Error: \`\`$bin\`\` not found" >&2 |
|
|
echo "Error: \`\`$bin\`\` not found" >&2 |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
|
|
|
## Install docker |
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
STATIC_DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64" |
|
|
STATIC_DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64" |
|
|
|
|
|
|
|
|
distro=$(lsb_release -is) |
|
|
distro=$(lsb_release -is) |
|
|