From e559a612bcfb6a483fda1c3ff128eec69a749e8b Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Tue, 24 Nov 2020 00:17:54 +0000 Subject: [PATCH] chore(NA): skip docker build if docker binary is not available (#84154) --- .ci/build_docker.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/build_docker.sh b/.ci/build_docker.sh index 1f45182aad840..07013f13cdae5 100755 --- a/.ci/build_docker.sh +++ b/.ci/build_docker.sh @@ -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