forked from FRosner/docker-zeppelin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (35 loc) · 948 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM openjdk:8-jre
RUN \
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y \
curl \
grep \
sed \
git \
wget \
bzip2 \
gettext \
sudo \
ca-certificates \
libglib2.0-0 \
libxext6 \
libsm6 \
libxrender1 && \
apt-get clean all
RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh -O ~/anaconda.sh && \
/bin/bash ~/anaconda.sh -b -p /opt/conda && \
rm ~/anaconda.sh
RUN ln -s /opt/conda/bin/python /usr/bin/python
ADD spark /usr/local/spark
ADD zeppelin /usr/local/zeppelin
WORKDIR /usr/local/zeppelin
RUN rm -rf conf
COPY conf.templates conf.templates
VOLUME ["/usr/local/zeppelin/notebooks"]
VOLUME ["/usr/local/zeppelin/conf"]
VOLUME ["/hive"]
EXPOSE 8080
COPY start-zeppelin.sh bin
ENTRYPOINT ["bin/start-zeppelin.sh"]