Skip to content

Commit

Permalink
Added support for Zeppelin 0.6.2 to download from Apache archives (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabre1041 authored Feb 11, 2017
1 parent 577f069 commit 6e069ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rhel-zeppelin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN yum clean all && \
curl -fsSL http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share \
&& mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn && \
curl -fSL $(curl -s http://www.apache.org/dyn/closer.cgi/zeppelin/zeppelin-$ZEPPELIN_VERSION/zeppelin-$ZEPPELIN_VERSION-bin-netinst.tgz?as_json=1 | grep preferred | cut -f 4 -d \" -)/zeppelin/zeppelin-$ZEPPELIN_VERSION/zeppelin-${ZEPPELIN_VERSION}-bin-netinst.tgz | tar xzf - --strip 1 -C $ZEPPELIN_SERVER_HOME/ && \
curl -fSL http://archive.apache.org/dist/zeppelin/zeppelin-$ZEPPELIN_VERSION/zeppelin-$ZEPPELIN_VERSION-bin-netinst.tgz | tar xzf - --strip 1 -C $ZEPPELIN_SERVER_HOME/ && \
chown -R 1001:0 $HOME/server $HOME/bin $HOME/storage && \
chmod -R "g+rwX" $HOME/server $HOME/bin $HOME/storage

Expand All @@ -37,4 +37,4 @@ VOLUME /opt/zeppelin/storage

USER 1001

ENTRYPOINT ["/opt/zeppelin/bin/start.sh"]
ENTRYPOINT ["/opt/zeppelin/bin/start.sh"]

0 comments on commit 6e069ee

Please sign in to comment.