Description
I'm currently trying to set up Zeppelin version 0.9 on a Kubernetes cluster and encountered several problems with the docker images:
- The image on Dockerhub is outdated. It contains an error that is already fixed in the 0.9 branch and the fix has also been released on github as a 0.9.0-docker release (https://github.com/apache/zeppelin/releases/tag/v0.9.0-docker). However, the image on dockerhub still contains the wrong version number for the images it starts in kubernetes mode (see https://hub.docker.com/r/apache/zeppelin/dockerfile: ENV Z_VERSION="0.9.0-preview2") .
- I tried to build the docker image myself from the git tag mentioned above. I downloaded the zip from github, extracted it and ran:
cd zeppelin-0.9.0-docker/scripts/docker/zeppelin/bin docker build -t my/zeppelin:0.9.0
This fails with the following error:
Error in library("devtools") : there is no package called 'devtools'Execution haltedThe command '/bin/sh -c echo "$LOG_TAG Install R related packages2" && 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')"' returned a non-zero code: 1
- So I tried to build the current branch-0.9 (as of 8b5b26dbd8d5efe65d30eb4f149d91aa6d35680c). However, here I get errors indicating that the script might have never been tested at all (sudo could not be found):
Step 11/21 : 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 install -y python-dev python-pip && apt-get install -y gfortran && apt-get install -y libblas-dev libatlas-dev liblapack-dev && apt-get install -y libpng-dev libfreetype6-dev libxft-dev && apt-get install -y python-tk libxml2-dev libxslt-dev zlib1g-dev && hash -r && conda config --set always_yes yes --set changeps1 no && conda update -q conda && conda info -a && conda config --add channels conda-forge && pip install -q pycodestyle==2.5.0 && pip install -q numpy==1.17.3 pandas==0.25.0 scipy==1.3.1 grpcio==1.19.0 bkzep==0.6.1 hvplot==0.5.2 protobuf==3.10.0 pandasql==0.7.3 ipython==7.8.0 matplotlib==3.0.3 ipykernel==5.1.2 jupyter_client==5.3.4 bokeh==1.3.4 panel==0.6.0 holoviews==1.12.3 seaborn==0.9.0 plotnine==0.5.1 intake==0.5.3 intake-parquet==0.2.2 altair==3.2.0 pycodestyle==2.5.0 apache_beam==2.15.0
---> Running in 085d62848c6c
[ZEPPELIN_0.9.0]: Install python related packages
/bin/sh: 1: sudo: not found
Am I missing something or is it just not possible to get a 0.9.0 docker image of zeppelin at the moment?
Furthermore, I noticed that the images used in the kubernetes setup yaml (https://github.com/apache/zeppelin/blob/master/k8s/zeppelin-server.yaml) are not published on dockerhub. E.g. apache/zeppelin-server
What should I do to get a working 0.9.0 container of zeppelin that I can use with kubernetes?
Many thanks + best regards!
Attachments
Issue Links
- is duplicated by
-
ZEPPELIN-5183 0.9.0 docker image build fails
- Closed