Github user ifilonenko commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22608#discussion_r225714964
  
    --- Diff: bin/docker-image-tool.sh ---
    @@ -71,18 +71,29 @@ function build {
         --build-arg
         base_img=$(image_ref spark)
       )
    -  local BASEDOCKERFILE=${BASEDOCKERFILE:-"$IMG_PATH/spark/Dockerfile"}
    -  local 
PYDOCKERFILE=${PYDOCKERFILE:-"$IMG_PATH/spark/bindings/python/Dockerfile"}
    -  local RDOCKERFILE=${RDOCKERFILE:-"$IMG_PATH/spark/bindings/R/Dockerfile"}
    +  local 
BASEDOCKERFILE=${BASEDOCKERFILE:-"$IMG_PATH/main/dockerfiles/spark/Dockerfile"}
    +  local 
PYDOCKERFILE=${PYDOCKERFILE:-"$IMG_PATH/main/dockerfiles/spark/bindings/python/Dockerfile"}
    +  local 
KDOCKERFILE=${KDOCKERFILE:-"$IMG_PATH/test/dockerfiles/spark/kerberos/Dockerfile"}
    --- End diff --
    
    > Yes, but I don't think it's meant for also building images for tests.
    
    I don't see why not. A simple flag would toggle it's build.,would that 
suffice? Having it be all in this script is cleaner given that the `image_ref` 
is defined in `docker-image-tool.sh` 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to