Skip to content

Commit

Permalink
Rebuild jupyterlab
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonparnell committed Dec 12, 2024
1 parent 1308ba0 commit 3aa59bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build_artifacts/v2/v2.2/v2.2.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
sed -i 's="Spark"="SparkMagic Spark"=g' /opt/conda/share/jupyter/kernels/sparkkernel/kernel.json && \
sed -i 's="PySpark"="SparkMagic PySpark"=g' /opt/conda/share/jupyter/kernels/pysparkkernel/kernel.json && \
# Configure RTC - disable jupyter_collaboration by default
jupyter labextension disable @jupyter/collaboration-extension
jupyter labextension disable @jupyter/collaboration-extension && \
jupyter lab build

# Patch glue kernels to use kernel wrapper
COPY patch_glue_pyspark.json /opt/conda/share/jupyter/kernels/glue_pyspark/kernel.json
Expand Down
3 changes: 2 additions & 1 deletion template/v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
sed -i 's="Spark"="SparkMagic Spark"=g' /opt/conda/share/jupyter/kernels/sparkkernel/kernel.json && \
sed -i 's="PySpark"="SparkMagic PySpark"=g' /opt/conda/share/jupyter/kernels/pysparkkernel/kernel.json && \
# Configure RTC - disable jupyter_collaboration by default
jupyter labextension disable @jupyter/collaboration-extension
jupyter labextension disable @jupyter/collaboration-extension && \
jupyter lab build

# Patch glue kernels to use kernel wrapper
COPY patch_glue_pyspark.json /opt/conda/share/jupyter/kernels/glue_pyspark/kernel.json
Expand Down

0 comments on commit 3aa59bc

Please sign in to comment.