Skip to content

Commit

Permalink
Merge pull request #839 from jupyter-incubator/devstein/pin-docker-to…
Browse files Browse the repository at this point in the history
…-nb-6

fix: pin Docker.jupyter to notebook 6.x.x
  • Loading branch information
devstein committed Sep 13, 2023
2 parents c5d94fb + e6e4b92 commit a6908f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile.jupyter
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6908f7

Please sign in to comment.