diff --git a/Dockerfile.jupyter b/Dockerfile.jupyter index 100c4500..fa002376 100644 --- a/Dockerfile.jupyter +++ b/Dockerfile.jupyter @@ -30,6 +30,11 @@ RUN if [ "$dev_mode" = "true" ]; then \ cd sparkmagic && pip install -e . && cd ../ ; \ else pip install sparkmagic ; fi +# Jupyter extensions changed in >7.x.x +# For now (workaround), let's pin to 6 to avoid breaking things +# xref: https://github.com/jupyter-incubator/sparkmagic/issues/825 +RUN pip install notebook==6.5.5 + RUN mkdir /home/$NB_USER/.sparkmagic COPY sparkmagic/example_config.json /home/$NB_USER/.sparkmagic/config.json RUN sed -i 's/localhost/spark/g' /home/$NB_USER/.sparkmagic/config.json