You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/11/04 13:56:58 UTC

[incubator-datalab] 01/01: [DATALAB-2560]: disables odahuflow extension

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2560
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 080c02ef5c045f7a857a75fd22c022902e6b0dee
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Nov 4 15:52:28 2021 +0200

    [DATALAB-2560]: disables odahuflow extension
---
 .../src/jupyterlab/Dockerfile_jupyterlab                      | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab b/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
index 4ebc51b..e18b18b 100644
--- a/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
+++ b/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
@@ -19,7 +19,7 @@
 #
 # ******************************************************************************
 
-FROM jupyterlab_image
+FROM odahu/base-notebook:1.1.0-rc8
 
 ARG NB_USER="jovyan"
 
@@ -38,12 +38,15 @@ RUN  sed -i 's|CONF_PATH|/etc/jupyter/jupyter_notebook_config.py|' /jupyterlab_r
 
 RUN apt update && apt install -y vim netcat-openbsd
 
-USER $NB_USER
-
 RUN jupyter serverextension enable --py jupyterlab_git && \
-    jupyter serverextension enable --py odahuflow.jupyterlab && \
     echo "ENABLED PLUGINS:" && \
     jupyter serverextension list
 
+RUN jupyter labextension disable odahu-flow-jupyterlab-plugin && \
+    jupyter serverextension disable --py odahuflow.jupyterlab && \
+    jupyter serverextension list && \
+    jupyter labextension list
+
+USER $NB_USER
 
 ENTRYPOINT ["/jupyterlab_run.sh", "-d"]
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org