You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/11/12 17:10:01 UTC

[jira] [Commented] (SPARK-26015) Include a USER directive in project provided Spark Dockerfiles

    [ https://issues.apache.org/jira/browse/SPARK-26015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684101#comment-16684101 ] 

Apache Spark commented on SPARK-26015:
--------------------------------------

User 'rvesse' has created a pull request for this issue:
https://github.com/apache/spark/pull/23017

> 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.3.0, 2.3.1, 2.3.2, 2.4.0
>            Reporter: Rob Vesse
>            Priority: Major
>
> 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