-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (24 loc) · 705 Bytes
/
Dockerfile
File metadata and controls
36 lines (24 loc) · 705 Bytes
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
#
# Apache Zeppelin for SQL Server Version
# Dockerfile v 1.2
#
FROM ubuntu:16.04
MAINTAINER Davide Mauri <info@davidemauri.it>
RUN apt-get update && apt-get install -y \
git \
curl \
openjdk-8-jdk \
nodejs \
npm \
libfontconfig \
maven
RUN echo '{ "allow_root": true }' > /root/.bowerrc
RUN git clone --depth 1 https://github.com/yorek/zeppelin.git zeppelin-sqlserver
WORKDIR zeppelin-sqlserver
ENV MAVEN_OPTS="-Xmx2g"
RUN mvn package -DskipTests
RUN cp ./conf/zeppelin-site.xml.template ./conf/zeppelin-site.xml && \
cp ./conf/zeppelin-env.sh.template ./conf/zeppelin-env.sh
VOLUME ["/zeppelin-sqlserver/notebook", "/zeppelin-sqlserver/conf"]
EXPOSE 8080
CMD ./bin/zeppelin.sh start