Add order of precedence for spark-config script

This commit is contained in:
Ayaz Salikhov
2023-12-04 12:05:56 +01:00
parent 72601cbd68
commit 2927745fb2

View File

@@ -58,7 +58,7 @@ RUN if [ -z "${scala_version}" ]; then \
ln -s "spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${scala_version}" "${SPARK_HOME}"; \
fi && \
# Add a link in the before_notebook hook in order to source automatically PYTHONPATH && \
ln -s "${SPARK_HOME}/sbin/spark-config.sh" /usr/local/bin/before-notebook.d/spark-config.sh
ln -s "${SPARK_HOME}/sbin/spark-config.sh" /usr/local/bin/before-notebook.d/10spark-config.sh
# Configure IPython system-wide
COPY ipython_kernel_config.py "/etc/ipython/"