You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2020/01/08 14:36:02 UTC

[incubator-dlab] branch develop updated: [odahu-integration] Updated jupyterlab Dockerfile

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

dmysakovets pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new af3cb2c  [odahu-integration] Updated jupyterlab Dockerfile
af3cb2c is described below

commit af3cb2c0b271eb860de7dbe5106b68404bf80cad
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Wed Jan 8 16:35:45 2020 +0200

    [odahu-integration] Updated jupyterlab Dockerfile
---
 infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab b/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
index 8fa3202..673ef8c 100644
--- a/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
+++ b/infrastructure-provisioning/src/jupyterlab/Dockerfile_jupyterlab
@@ -21,9 +21,7 @@
 
 FROM jupyterlab_image
 
-ARG NB_USER="dlab-user"
-
-RUN useradd -u 1001 -ms /bin/bash $NB_USER
+ARG NB_USER="jovyan"
 
 EXPOSE 8888
 
@@ -34,14 +32,14 @@ COPY jupyterlab_run.sh /jupyterlab_run.sh
 RUN  sed -i 's|CONF_PATH|/etc/jupyter/jupyter_notebook_config.py|' /jupyterlab_run.sh \
   && chmod +x /jupyterlab_run.sh \
   && chown -R 1001:1001 /etc/jupyter \
-  && chown -R 1001:1001 /opt/legion
+  && chown -R 1001:1001 /opt/odahu-flow
 
 RUN apt update && apt install -y vim netcat-openbsd
 
 USER $NB_USER
 
 RUN jupyter serverextension enable --py jupyterlab_git && \
-    jupyter serverextension enable --py legion.jupyterlab && \
+    jupyter serverextension enable --py odahuflow.jupyterlab && \
     echo "ENABLED PLUGINS:" && \
     jupyter serverextension list
 


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