File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ RUN ln -sf ${PREFIX}/bin/python3.11 /usr/local/bin/python \
3232# ##########################################
3333# Stage 2: Get entrypoint from official Spark
3434# ##########################################
35- FROM apache/spark:3.5.6 AS spark-official
35+ FROM apache/spark:3.5.5 AS spark-official
3636
3737# ##########################################
3838# Stage 3: Spark + Delta + Cloud connectors
3939# ##########################################
4040FROM ubuntu:22.04 AS spark-base
41- ARG SPARK_VERSION=3.5.6
41+ ARG SPARK_VERSION=3.5.5
4242ARG HADOOP_VERSION=3
4343ARG DELTA_VERSION=3.2.1
4444ENV DEBIAN_FRONTEND=noninteractive
@@ -99,12 +99,12 @@ ENV HOME=/home/spark \
9999 JUPYTER_PORT=8888 \
100100 JUPYTER_DIR=/opt/spark/work-dir/notebooks \
101101 PYSPARK_PYTHON=/usr/local/bin/python3.11 \
102- PYSPARK_DRIVER_PYTHON=/usr/local/bin/python3.11 \
103- PYTHONPATH= "${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.10.9.7-src.zip:${PYTHONPATH}"
104-
102+ PYSPARK_DRIVER_PYTHON=/usr/local/bin/python3.11
103+ # Definir PYTHONPATH separado (sem depender de anterior)
104+ ENV PYTHONPATH= "${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.10.9.7-src.zip"
105105# ✅ Install PySpark + JupyterLab + common libs
106106RUN pip install --no-cache-dir \
107- pyspark==3.5.6 \
107+ pyspark==3.5.5 \
108108 pandas \
109109 numpy \
110110 jupyterlab==4.2.5
You can’t perform that action at this time.
0 commit comments