forked from dbis-ilm/piglet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (15 loc) · 776 Bytes
/
Dockerfile
File metadata and controls
24 lines (15 loc) · 776 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
FROM java:latest
MAINTAINER stefan.hagedorn@tu-ilmenau.de
COPY /script/piglet /piglet/
COPY target/scala-2.11/PigCompiler.jar /piglet/
ENV PIG_LIB /piglet/PigCompiler.jar
COPY /sparklib/target/scala-2.11/sparklib_2.11-*.jar /sparklib/target/scala-2.11/
ENV BACKEND_DIR /sparklib/target/scala-2.11/*
# enable these to support other backends.
#COPY /flinklib/target/scala-2.11/flinklib_2.11-*.jar /flinklib/target/scala-2.11/
#COPY /mapreduce/target/scala-2.11/mapreduce_2.11-*.jar /mapreduce/target/scala-2.11/
ENV SPARK_JAR /piglet/spark-assembly-1.5.1-hadoop2.4.0.jar
RUN wget -q -P /piglet http://moria.prakinf.tu-ilmenau.de/spark-assembly-1.5.1-hadoop2.4.0.jar
#RUN mv spark-assembly-1.5.1-hadoop2.4.0.jar /piglet/
ENTRYPOINT ["/piglet/piglet"]
CMD ["--help"]