spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Vesse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-26015) Include a USER directive in project provided Spark Dockerfiles
Date Mon, 12 Nov 2018 10:53:00 GMT
Rob Vesse created SPARK-26015:
---------------------------------

             Summary: Include a USER directive in project provided Spark Dockerfiles
                 Key: SPARK-26015
                 URL: https://issues.apache.org/jira/browse/SPARK-26015
             Project: Spark
          Issue Type: Improvement
          Components: Kubernetes
    Affects Versions: 2.4.0, 2.3.2, 2.3.1, 2.3.0
            Reporter: Rob Vesse


The current Dockerfiles provided by the project for running on Kubernetes do not include a
[USER directive|https://docs.docker.com/engine/reference/builder/#user] which means that they
default to running as {{root}}.  This may lead to unsuspecting users running their Spark jobs
with unexpected levels of privilege.

The project should follow Docker/K8S best practises by including {{USER}} directives in the
Dockerfiles.



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

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


Mime
View raw message