Add jupyterlab by default to the venv + conda images
MODIFY
s2i-builders/venv/Dockerfile
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

MODIFY
s2i-builders/venv/Dockerfile.py2
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

Add jupyterlab by default to the venv + conda images