Containerized and Script-controlled JupyterLab Project Environment
1.2K
The JupyterLab-Configurator lets you easily create your JupyterLab configuration that runs JupyterLab in a container and automates the whole setup using scripts. A container is a separated environment that encapsulates the libraries you install in it without affecting your host computer. Scripts automate executing all the commands you would normally need to run manually. For you can review and edit scripts, you get full control of your configuration at any time.
This is the Dockerfile:
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get install -y build-essential \
checkinstall \
libreadline-gplv2-dev \
libncursesw5-dev \
libssl-dev \
libsqlite3-dev \
tk-dev \
libgdbm-dev \
libc6-dev \
libbz2-dev \
zlib1g-dev \
openssl \
libffi-dev \
python3-dev \
python3-setuptools \
wget
RUN mkdir /tmp/Python37 \
&& cd /tmp/Python37 \
&& wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz \
&& tar xvf Python-3.7.0.tar.xz \
&& cd /tmp/Python37/Python-3.7.0 \
&& ./configure \
&& make altinstall
RUN ln -s /usr/local/bin/python3.7 /usr/bin/python
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
RUN pip install --upgrade pip
RUN pip install requests
RUN apt-get install curl -y
RUN pip install jupyter --upgrade
RUN pip install jupyterlab --upgrade
RUN apt-get install pandoc -y
RUN apt-get install texlive-xetex -y
RUN unlink /usr/bin/python
RUN ln -s /usr/local/bin/python3.7 /usr/bin/python
RUN apt-get install bash -y
RUN pip install bash_kernel
RUN python -m bash_kernel.install
Content type
Image
Digest
Size
807.5 MB
Last updated
almost 8 years ago
docker pull leandatascience/jupyterlabconfiguration