You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/12/29 03:47:04 UTC

[zeppelin] tag v0.9.0-docker created (now 191dca1)

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

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


      at 191dca1  (commit)
This tag includes the following new commits:

     new 191dca1  [hotfix] update Dockerfile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[zeppelin] 01/01: [hotfix] update Dockerfile

Posted by zj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 191dca1f927b5e4cece1b9abf7086acb5b3f372c
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Tue Dec 29 11:46:13 2020 +0800

    [hotfix] update Dockerfile
---
 scripts/docker/zeppelin/bin/Dockerfile | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/scripts/docker/zeppelin/bin/Dockerfile b/scripts/docker/zeppelin/bin/Dockerfile
index abc2e12..7eeebdb 100644
--- a/scripts/docker/zeppelin/bin/Dockerfile
+++ b/scripts/docker/zeppelin/bin/Dockerfile
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM ubuntu:20.04
+FROM ubuntu:18.04
 MAINTAINER Apache Software Foundation <de...@zeppelin.apache.org>
 
 ENV Z_VERSION="0.9.0"
@@ -59,14 +59,16 @@ RUN echo "$LOG_TAG Install miniconda3 related packages" && \
 
 ENV PATH /opt/conda/bin:$PATH
 
+RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
+
 RUN echo "$LOG_TAG Install python related packages" && \
-    sudo apt-get -y install software-properties-common && \
-    sudo apt-add-repository universe && \
-    sudo apt-get -y update && \
+    apt-get -y install software-properties-common && \
+    apt-add-repository universe && \
+    apt-get -y update && \
     apt-get install -y python-dev python-pip && \
     apt-get install -y gfortran && \
     # numerical/algebra packages
-    apt-get install -y libblas-dev libatlas-dev liblapack-dev && \
+    apt-get install -y libblas-dev libatlas-base-dev  liblapack-dev && \
     # font, image
     apt-get install -y libpng-dev libfreetype6-dev libxft-dev && \
     # for tkinter
@@ -82,8 +84,8 @@ RUN echo "$LOG_TAG Install python related packages" && \
 RUN echo "$LOG_TAG Install R related packages" && \
     echo "PATH: $PATH" && \
     ls /opt/conda/bin && \
-    echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | tee -a /etc/apt/sources.list && \
-    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9 && \
+    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
+    add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' && \
     apt-get -y update && \
     apt-get -y --allow-unauthenticated install r-base r-base-dev && \
     R -e "install.packages('evaluate', repos = 'https://cloud.r-project.org')" && \
@@ -92,9 +94,11 @@ RUN echo "$LOG_TAG Install R related packages" && \
     R -e "install.packages('googleVis', repos='http://cran.us.r-project.org')" && \
     R -e "install.packages('data.table', repos='http://cran.us.r-project.org')" && \
     R -e "install.packages('IRkernel', repos = 'https://cloud.r-project.org');IRkernel::installspec()" && \
-    R -e "install.packages('shiny', repos = 'https://cloud.r-project.org')" && \
+    R -e "install.packages('shiny', repos = 'https://cloud.r-project.org')"
+
+RUN echo "$LOG_TAG Install R related packages2" && \
     # for devtools, Rcpp
-    apt-get -y install libcurl4-gnutls-dev libssl-dev && \
+    apt-get -y install libcurl4-openssl-dev libssl-dev && \
     R -e "install.packages('devtools', repos='http://cran.us.r-project.org')" && \
     R -e "install.packages('Rcpp', repos='http://cran.us.r-project.org')" && \
     Rscript -e "library('devtools'); library('Rcpp'); install_github('ramnathv/rCharts')"