Adding a container for the Titan graph database distribution

This commit is contained in:
Geoff Bourne committed 2014-09-19 02:49:44 +00:00
1 parent 029e7d8974
commit 716ff66b1b
3 files changed
+38

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
FROM itzg/ubuntu-openjdk-7
MAINTAINER itzg
RUN apt-get install -y wget unzip
RUN wget -q -O /tmp/titan.zip http://s3.thinkaurelius.com/downloads/titan/titan-0.5.0-hadoop2.zip
RUN unzip /tmp/titan.zip -d /opt && rm /tmp/titan.zip
ENV TITAN_HOME /opt/titan-0.5.0-hadoop2
WORKDIR $TITAN_HOME
VOLUME ["/conf","/data"]
ADD start-gremlin.sh /opt/start-gremlin.sh
CMD ["/bin/bash", "-e", "/opt/start-gremlin.sh"]