zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject [zeppelin] 02/02: ZEPPELIN-3951. Enable IPython in Docker
Date Fri, 25 Jan 2019 09:01:36 GMT
This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to annotated tag v0.8.1-docker
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit 0854c0eb656a005386da193abd39cfda98f762f6
Author: jeffzhang.zjf <jeffzhang.zjf@alibaba-inc.com>
AuthorDate: Thu Jan 17 15:42:13 2019 +0800

    ZEPPELIN-3951. Enable IPython in Docker
---
 scripts/docker/zeppelin/bin/Dockerfile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/scripts/docker/zeppelin/bin/Dockerfile b/scripts/docker/zeppelin/bin/Dockerfile
index bf0e1f3..02edea8 100644
--- a/scripts/docker/zeppelin/bin/Dockerfile
+++ b/scripts/docker/zeppelin/bin/Dockerfile
@@ -52,10 +52,10 @@ RUN echo "$LOG_TAG Install miniconda2 related packages" && \
     libglib2.0-0 libxext6 libsm6 libxrender1 \
     git mercurial subversion && \
     echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
-    wget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.3.11-Linux-x86_64.sh -O
~/miniconda.sh && \
-    /bin/bash ~/miniconda.sh -b -p /opt/conda && \
-    rm ~/miniconda.sh
-ENV PATH /opt/conda/bin:$PATH
+    wget --quiet https://repo.continuum.io/archive/Anaconda2-2018.12-Linux-x86_64.sh -O ~/Anaconda2.sh
&& \
+    /bin/bash ~/Anaconda2.sh -b -p /opt/anaconda2 && \
+    rm ~/Anaconda2.sh
+ENV PATH /opt/anaconda2:$PATH
 
 RUN echo "$LOG_TAG Install python related packages" && \
     apt-get -y update && \
@@ -68,7 +68,9 @@ RUN echo "$LOG_TAG Install python related packages" && \
     # for tkinter
     apt-get install -y python-tk libxml2-dev libxslt-dev zlib1g-dev && \
     pip install numpy && \
-    pip install matplotlib
+    pip install matplotlib \
+    pip install grpcio \
+    pip install protobuf
 
 RUN echo "$LOG_TAG Install R related packages" && \
     echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | tee -a /etc/apt/sources.list
&& \


Mime
View raw message