2014-09-19 02:49:44 +00:00
|
|
|
FROM itzg/ubuntu-openjdk-7
|
|
|
|
|
|
|
|
MAINTAINER itzg
|
|
|
|
|
2015-02-15 06:05:08 +00:00
|
|
|
ENV TITAN_VERSION 0.5.4
|
2014-09-19 02:49:44 +00:00
|
|
|
|
2015-02-15 06:05:08 +00:00
|
|
|
RUN wget -q -O /tmp/titan.zip http://s3.thinkaurelius.com/downloads/titan/titan-$TITAN_VERSION-hadoop2.zip
|
|
|
|
RUN unzip -q /tmp/titan.zip -d /opt && rm /tmp/titan.zip
|
2014-09-19 02:49:44 +00:00
|
|
|
|
2015-02-15 06:05:08 +00:00
|
|
|
ENV TITAN_HOME /opt/titan-$TITAN_VERSION-hadoop2
|
2014-09-19 02:49:44 +00:00
|
|
|
WORKDIR $TITAN_HOME
|
|
|
|
|
|
|
|
VOLUME ["/conf","/data"]
|
|
|
|
ADD start-gremlin.sh /opt/start-gremlin.sh
|
|
|
|
|
2015-02-15 06:12:51 +00:00
|
|
|
CMD ["/opt/start-gremlin.sh"]
|