You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2021/01/31 02:44:14 UTC

[GitHub] [submarine] aeioulisa commented on a change in pull request #497: SUBMARINE-698. Enable notebook to associate with git-based repo

aeioulisa commented on a change in pull request #497:
URL: https://github.com/apache/submarine/pull/497#discussion_r567354595



##########
File path: dev-support/docker-images/jupyter/Dockerfile
##########
@@ -92,12 +92,14 @@ RUN wget --quiet https://repo.continuum.io/miniconda/Miniconda3-py37_${MINICONDA
     rm -rf /home/$NB_USER/.cache/yarn
 
 # Install latest sumbarine python sdk and notebook
-RUN pip install notebook==6.1.3 && \
-    git clone https://github.com/apache/submarine && \
-    pip install submarine/submarine-sdk/pysubmarine && \
-    cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \
-    cp -r submarine/submarine-sdk/pysubmarine/example/{data,deepfm_example.ipynb,deepfm.json} $HOME && \
-    rm submarine -rf
+RUN git clone https://github.com/apache/submarine && \
+pip install submarine/submarine-sdk/pysubmarine && \
+conda install nodejs && \
+conda install -c conda-forge jupyterlab jupyterlab-git && \
+jupyter lab build && \
+cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \
+cp -r submarine/submarine-sdk/pysubmarine/example/{data,deepfm_example.ipynb,deepfm.json} $HOME && \
+rm submarine -rf

Review comment:
       According to the description of [Jupyterlab](https://github.com/jupyterlab/jupyterlab-git),  it needs NodeJS to build the extension package.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org