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

[jira] [Resolved] (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:all-tabpanel ]

Marcelo Vanzin resolved SPARK-26015.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23017
[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
>            Assignee: Rob Vesse
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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