Basically this would need some extra docker statements to install the package, do some formatting around it and run the executable. We have maintained a publicly available GitHub with the install scripts and start up scripts along with the workspace properties. How you'd make this work is by cloning this repo, run the install script which would install all the components, and we'll hardcode the path to the start script in the workspace properties. Link to the GitHub repo :-
https://github.com/dominodatalab/workspace-configs
Note: The original install script from the linked GitHub repo contains an obsolete download link so better to follow the steps below.
dockerfile would be as per :-
USER root
RUN apt-get update && apt-get install -y wget unzip tar sed && \
mkdir -p /var/opt/workspaces && cd /tmp && \
wget -v https://github.com/dominodatalab/workspace-configs/archive/refs/heads/develop.zip && \
unzip -q develop.zip && \
cp -Rf workspace-configs-develop/* /var/opt/workspaces && \
rm -rf /var/opt/workspaces/workspace-logos /var/opt/workspaces/README.md && \
rm -rf /tmp/workspace-configs-develop /tmp/develop.zip && \
chmod +x /var/opt/workspaces/Zeppelin/
RUN wget -q https://dlcdn.apache.org/zeppelin/zeppelin-0.10.1/zeppelin-0.10.1-bin-all.tgz --no-check-certificate && \
tar xf zeppelin-0.10.1-bin-all.tgz && \
rm -rf /opt/zeppelin && \
mv zeppelin-0.10.1-bin-all /opt/zeppelin && \
rm zeppelin-0.10.1-bin-all.tgz && \
chown -R ubuntu:ubuntu /opt/zeppelin && \
mv /var/opt/workspaces/Zeppelin/zeppelin-env.txt /opt/zeppelin/conf/zeppelin-env.sh && \
chmod 777 /opt/zeppelin/conf/zeppelin-env.sh && \
#chown ubuntu:ubuntu /opt/zeppelin/conf/zeppelin-env.sh && \
sed -i '94d' /opt/zeppelin/conf/zeppelin-env.sh && \
echo "export ZEPPELIN_ADDR=0.0.0.0" >> /opt/zeppelin/conf/zeppelin-env.sh
#chown -R ubuntu:ubuntu /opt/zeppelin
& you'd add the workspace properties below where it says Pluggable Workspace Tools as per :-
Zeppelin:
title: "Zeppelin"
iconUrl: "https://raw.githubusercontent.com/dominodatalab/workspace-configs/develop/workspace-logos/Zeppelin.svg?sanitize=true"
start: [ "/var/opt/workspaces/Zeppelin/start" ]
httpProxy:
port: 8888
requireSubdomain: false
Comments
0 comments
Please sign in to leave a comment.