Skip to content

Commit

Permalink
[SPARK-26685][K8S] Fix -u <uid> not propagating to Python/R bindings
Browse files Browse the repository at this point in the history
Make sure that BINDING_BUILD_ARGS include the build argument that sets
the desired UID if configured by the user
  • Loading branch information
rvesse committed Jan 22, 2019
1 parent 53d037a commit 0ee1c3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/docker-image-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0ee1c3b

Please sign in to comment.