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

This commit is contained in:
Tiago Costa 2020-11-24 03:34:39 +00:00 committed by GitHub
parent 6b686e2ef8
commit b3abe47ad0
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