diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index 6e3ef2269a30d5349b61afa70ba46bc34993b71e..f0037e5654f0a74999f2f98a040831f91f3a8d1d 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -32,24 +32,28 @@ ENV JUPYTERLAB_SETTINGS_DIR=$HOME/.config/jupyter/lab/user-settings ENV JUPYTERLAB_WORKSPACES_DIR=$HOME/.config/jupyter/lab/workspaces RUN python${PYTHON_VERSION} -m pip install \ - jupyterlab \ - jupyterhub \ - ipympl \ + jupyterlab==2.2.9 \ + jupyterhub==1.2.2 \ + ipympl==0.5.8 \ + black \ + isort \ && \ python${PYTHON_VERSION} -m jupyter labextension install \ - @jupyter-widgets/jupyterlab-manager && \ - python${PYTHON_VERSION} -m jupyter serverextension enable --sys-prefix --py jupyterlab && \ - python${PYTHON_VERSION} -m jupyter labextension install \ + @jupyter-widgets/jupyterlab-manager \ + && \ + python${PYTHON_VERSION} -m jupyter serverextension enable --sys-prefix --py jupyterlab + +RUN python${PYTHON_VERSION} -m jupyter labextension install \ jupyter-webrtc \ ipyvolume \ jupyter-threejs \ - jupyterlab-execute-time \ - && \ + jupyterlab-execute-time + +RUN python${PYTHON_VERSION} -m pip install jupyterlab_code_formatter==1.3.8 && \ python${PYTHON_VERSION} -m jupyter labextension install @ryantam626/jupyterlab_code_formatter && \ - python${PYTHON_VERSION} -m pip install jupyterlab_code_formatter && \ - python${PYTHON_VERSION} -m jupyter serverextension enable --sys-prefix --py jupyterlab_code_formatter && \ - python${PYTHON_VERSION} -m pip install black isort && \ - python${PYTHON_VERSION} -m pip install jupyterlab-git && \ + python${PYTHON_VERSION} -m jupyter serverextension enable --sys-prefix --py jupyterlab_code_formatter + +RUN python${PYTHON_VERSION} -m pip install jupyterlab-git && \ python${PYTHON_VERSION} -m jupyter lab build RUN mkdir -p /usr/local/venv && \