-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (26 loc) · 1020 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
#Version 0.7
FROM ubuntu:14.04
MAINTAINER Lauren Wolfe “wolfela<-A-t->uw<d-o-t>edu”
ENV TITAN_VER titan-0.5.4-hadoop2
RUN apt-get install -y --fix-missing software-properties-common
RUN apt-get install -y --fix-missing python3-software-properties
RUN apt-get update
RUN apt-get install -y wget unzip
RUN apt-get install -y default-jre
RUN apt-get install -y default-jdk
RUN wget -O /tmp/titan.zip http://s3.thinkaurelius.com/downloads/titan/$TITAN_VER.zip
WORKDIR /opt/
RUN unzip /tmp/titan.zip
RUN rm /tmp/titan.zip
WORKDIR /opt/$TITAN_VER/
COPY /main/conf/rexster-cassandra-es.xml /opt/$TITAN_VER/conf/
COPY /main/groovy/PWLoad.groovy /opt/$TITAN_VER/
COPY /main/groovy/schema.groovy /opt/$TITAN_VER/
COPY /main/groovy/refactor.groovy /opt/$TITAN_VER/
COPY /main/groovy/loadToExisting.groovy /opt/$TITAN_VER/
COPY /data/filenames.tsv /opt/$TITAN_VER/
COPY /data/stad.all.17jan15.TP.pwpv /opt/$TITAN_VER/
RUN mkdir -p /rexhome/ext/titan
RUN cp -r /lib/*.* /rexhome/ext/titan
EXPOSE 8182
CMD ["/bin/bash"]