chore(NA): skip docker build if docker binary is not available (#84154)

This commit is contained in:
Tiago Costa 2020-11-24 00:17:54 +00:00 committed by GitHub
parent ac1cf7d19e
commit e559a612bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,4 +7,8 @@ cd "$(dirname "${0}")"
cp /usr/local/bin/runbld ./
cp /usr/local/bin/bash_standard_lib.sh ./
docker build -t kibana-ci -f ./Dockerfile .
if which docker >/dev/null; then
docker build -t kibana-ci -f ./Dockerfile .
else
echo "Docker binary is not available. Skipping the docker build this time."
fi