diff --git a/s2i-builders/venv/Dockerfile b/s2i-builders/venv/Dockerfile index 82e534e2..08058960 100644 --- a/s2i-builders/venv/Dockerfile +++ b/s2i-builders/venv/Dockerfile @@ -37,8 +37,10 @@ WORKDIR /home/jovyan USER jovyan RUN python3 -m venv ${APP_DIR}/venv -RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 jupyterhub==0.7.2 ipywidgets==5.2.3 && \ - ${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension +RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 jupyterhub==0.7.2 ipywidgets==5.2.3 jupyterlab==0.22.1 && \ + ${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension --sys-prefix && \ + ${APP_DIR}/venv/bin/jupyter serverextension enable --py jupyterlab --sys-prefix + COPY ./s2i/bin/ /usr/libexec/s2i diff --git a/s2i-builders/venv/Dockerfile.py2 b/s2i-builders/venv/Dockerfile.py2 index b1ac9f29..5cd1ba24 100644 --- a/s2i-builders/venv/Dockerfile.py2 +++ b/s2i-builders/venv/Dockerfile.py2 @@ -37,8 +37,9 @@ WORKDIR /home/jovyan USER jovyan RUN virtualenv ${APP_DIR}/venv -RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 git+https://github.com/yuvipanda/jupyterhub-legacy-singleuser@master ipywidgets==5.2.3 && \ - ${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension +RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 git+https://github.com/yuvipanda/jupyterhub-legacy-singleuser@master ipywidgets==5.2.3 jupyterlab==0.22.1 && \ + ${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension --sys-prefix && \ + ${APP_DIR}/venv/bin/jupyter serverextension enable --py jupyterlab --sys-prefix COPY ./s2i/bin/ /usr/libexec/s2i