Rob Vesse created SPARK-25745:
---------------------------------

             Summary: docker-image-tool.sh ignores errors from Docker
                 Key: SPARK-25745
                 URL: https://issues.apache.org/jira/browse/SPARK-25745
             Project: Spark
          Issue Type: Bug
          Components: Deploy, Kubernetes
    Affects Versions: 2.3.2, 2.3.1, 2.3.0
            Reporter: Rob Vesse


In attempting to use the {{docker-image-tool.sh}} scripts to build some custom 
Dockerfiles I ran into issues with the scripts interaction with Docker.  Most 
notably if the Docker build/push fails the script continues blindly ignoring 
the errors.  This can either result in complete failure to build or lead to 
subtle bugs where images are built against different base images than expected.

Additionally while the Dockerfiles assume that Spark is first built locally the 
scripts fail to validate this which they could easily do by checking the 
expected JARs location.  This can also lead to failed Docker builds which could 
easily be avoided.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to