You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2019/02/07 19:43:10 UTC

[zeppelin] branch master updated: [ZEPPELIN-3989] Configure IPython Interpreter in Docker image

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

moon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 64a768a  [ZEPPELIN-3989] Configure IPython Interpreter in Docker image
64a768a is described below

commit 64a768aa5e8f0054e18efbbadc9ffc4ddb03151f
Author: Lee moon soo <mo...@apache.org>
AuthorDate: Mon Feb 4 09:58:28 2019 -0800

    [ZEPPELIN-3989] Configure IPython Interpreter in Docker image
    
    ### What is this PR for?
    Configure IPython interpreter in Docker image by installing necessary dependencies.
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-3989
    
    ### How should this be tested?
    Build docker image and see if %python interpreter works with Ipython kernel.
    
    ### Questions:
    * Does the licenses files need update?  no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    
    Author: Lee moon soo <mo...@apache.org>
    
    Closes #3303 from Leemoonsoo/ZEPPELIN-3989 and squashes the following commits:
    
    e64ac428e [Lee moon soo] install ipython interpreter dependencies
---
 scripts/docker/zeppelin/bin/Dockerfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/docker/zeppelin/bin/Dockerfile b/scripts/docker/zeppelin/bin/Dockerfile
index 080b05c..b05df71 100644
--- a/scripts/docker/zeppelin/bin/Dockerfile
+++ b/scripts/docker/zeppelin/bin/Dockerfile
@@ -63,12 +63,11 @@ RUN echo "$LOG_TAG Install python related packages" && \
     apt-get install -y gfortran && \
     # numerical/algebra packages
     apt-get install -y libblas-dev libatlas-dev liblapack-dev && \
-    # font, image for matplotlib
+    # font, image
     apt-get install -y libpng-dev libfreetype6-dev libxft-dev && \
     # for tkinter
     apt-get install -y python-tk libxml2-dev libxslt-dev zlib1g-dev && \
-    pip install numpy && \
-    pip install matplotlib
+    pip install numpy==1.12.1 pandas==0.21.1 matplotlib==2.1.1 pandasql==0.7.3 ipython==5.4.1 jupyter_client==5.1.0 ipykernel==4.7.0 bokeh==0.12.10 ggplot==0.11.5 grpcio==1.8.2 bkzep==0.4.0
 
 RUN echo "$LOG_TAG Install R related packages" && \
     echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | tee -a /etc/apt/sources.list && \