From 2927745fb23de0a14ae3442884d5160f26b0bf9d Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 4 Dec 2023 12:05:56 +0100 Subject: [PATCH] Add order of precedence for spark-config script --- images/pyspark-notebook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/pyspark-notebook/Dockerfile b/images/pyspark-notebook/Dockerfile index 9346c43c31..87b03048c5 100644 --- a/images/pyspark-notebook/Dockerfile +++ b/images/pyspark-notebook/Dockerfile @@ -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/"