Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/21669#discussion_r212764246
--- Diff:
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile ---
@@ -43,6 +43,10 @@ COPY sbin /opt/spark/sbin
COPY ${img_path}/spark/entrypoint.sh /opt/
COPY examples /opt/spark/examples
COPY data /opt/spark/data
+RUN if [ -z "$SPARK_USER" ]; then \
--- End diff --
So this part I _think_ belongs in the entrypoint where you know which user
your adding because this is done at image build time where we don't know our
deal.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]