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:39 UTC
[incubator-dlab] branch epm-v2.2-rc1 updated: [odahu-integration]
Updated jupyterlab Dockerfile
This is an automated email from the ASF dual-hosted git repository.
dmysakovets pushed a commit to branch epm-v2.2-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/epm-v2.2-rc1 by this push:
new 5aa3a53 [odahu-integration] Updated jupyterlab Dockerfile
5aa3a53 is described below
commit 5aa3a53b088e135af08e0c38ccc52f33d15fbc79
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Wed Jan 8 16:36:26 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