Dockerfile 836 B

12345678910111213141516171819202122
  1. FROM docker.shemic.com/java/base:latest
  2. MAINTAINER Rabin "https://github.com/shemic"
  3. # set environment variable
  4. ENV HADOOP_HOME=/share/lib/hadoop
  5. ENV SPARK_HOME=/share/lib/spark
  6. ENV PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$SPARK_HOME/bin
  7. ENV ZEPPELIN_HOME=/usr/local/zeppelin
  8. ENV ZEPPELIN_VERSION=0.7.2
  9. ENV ZEPPELIN_TYPE=all
  10. ENV PATH=$PATH:$ZEPPELIN_HOME/bin
  11. # install zeppelin
  12. #RUN curl -O ${MIRRORS}apache/zeppelin/zeppelin-$ZEPPELIN_VERSION/zeppelin-$ZEPPELIN_VERSION-bin-$ZEPPELIN_TYPE.tgz && tar -xzvf zeppelin-$ZEPPELIN_VERSION-bin-$ZEPPELIN_TYPE && mv zeppelin-$ZEPPELIN_VERSION-bin-$ZEPPELIN_TYPE.tgz $ZEPPELIN_HOME && rm zeppelin-$ZEPPELIN_VERSION-bin-$ZEPPELIN_TYPE.tgz
  13. COPY zeppelin-$ZEPPELIN_VERSION-bin-$ZEPPELIN_TYPE $ZEPPELIN_HOME
  14. COPY zeppelin.sh /entrypoint/zeppelin.sh
  15. VOLUME ["/usr/local/zeppelin/conf"]