Created
July 19, 2017 04:40
-
-
Save phizaz/6f3a3558dd97b7212130bd78e9e6a656 to your computer and use it in GitHub Desktop.
Dockerfile - installing Jupyter extensions with VIM binding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get needed for installing VIM binding | |
RUN apt-get update | |
RUN apt-get install -y git | |
# install Jupyter extensions (https://github.com/ipython-contrib/jupyter_contrib_nbextensions) | |
RUN pip install jupyter_contrib_nbextensions | |
RUN jupyter contrib nbextension install --user | |
# install VIM binding for Jupyter (https://github.com/lambdalisue/jupyter-vim-binding) | |
RUN mkdir -p $(jupyter --data-dir)/nbextensions \ | |
&& cd $(jupyter --data-dir)/nbextensions \ | |
&& git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding \ | |
&& chmod -R go-w vim_binding | |
# activate VIM binding for Jupyter | |
RUN jupyter nbextension enable vim_binding/vim_binding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment