Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-26685][K8S] Correct placement of ARG declaration #23611

Closed
wants to merge 2 commits into from

Commits on Jan 22, 2019

  1. [SPARK-26685][K8S] Correct placement of ARG declaration

    Latest Docker releases are stricter in their enforcement of build
    argument scope.  The location of the ARG spark_uid declaration in the
    Python and R Dockerfiles means the variable is out of scope by the time
    it is used in a USER declaration resulting in a container running as
    root rather than the default/configured UID.
    
    This commit moves the ARG declaration to just before the argument is
    used such that it is in scope.
    rvesse committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    53d037a View commit details
    Browse the repository at this point in the history
  2. [SPARK-26685][K8S] Fix -u <uid> not propagating to Python/R bindings

    Make sure that BINDING_BUILD_ARGS include the build argument that sets
    the desired UID if configured by the user
    rvesse committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    0ee1c3b View commit details
    Browse the repository at this point in the history