Skip to content

Commit 92a497d

Browse files
clintharrisonnlopezgi
authored andcommitted
Add error message when docker is not available in incremental loader (#731)
1 parent 90b9ba4 commit 92a497d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

container/incremental_load.sh.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ RUNFILES="${PYTHON_RUNFILES:-$(guess_runfiles)}"
3333

3434
DOCKER="%{docker_tool_path}"
3535

36+
if [[ -z "${DOCKER}" ]]; then
37+
echo >&2 "error: docker not found; do you need to manually configure the docker toolchain?"
38+
exit 1
39+
fi
40+
3641
# Create temporary files in which to record things to clean up.
3742
TEMP_FILES="$(mktemp -t 2>/dev/null || mktemp -t 'rules_docker_files')"
3843
TEMP_IMAGES="$(mktemp -t 2>/dev/null || mktemp -t 'rules_docker_images')"

0 commit comments

Comments
 (0)