From 0ee1c3b71b46d2844841c3dc288b0d55d9087dbe Mon Sep 17 00:00:00 2001 From: Rob Vesse Date: Tue, 22 Jan 2019 10:49:03 +0000 Subject: [PATCH] [SPARK-26685][K8S] Fix -u not propagating to Python/R bindings Make sure that BINDING_BUILD_ARGS include the build argument that sets the desired UID if configured by the user --- bin/docker-image-tool.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/docker-image-tool.sh b/bin/docker-image-tool.sh index 4f66137eb1c7a..efaf09e74c405 100755 --- a/bin/docker-image-tool.sh +++ b/bin/docker-image-tool.sh @@ -154,10 +154,11 @@ function build { fi local BINDING_BUILD_ARGS=( - ${BUILD_PARAMS} + ${BUILD_ARGS[@]} --build-arg base_img=$(image_ref spark) ) + local BASEDOCKERFILE=${BASEDOCKERFILE:-"kubernetes/dockerfiles/spark/Dockerfile"} local PYDOCKERFILE=${PYDOCKERFILE:-false} local RDOCKERFILE=${RDOCKERFILE:-false}