2017-05-03 00:42:47 +00:00
|
|
|
FROM openjdk:8-jre
|
2014-09-19 02:49:44 +00:00
|
|
|
|
2017-05-02 19:29:17 +00:00
|
|
|
LABEL maintainer "itzg"
|
2014-09-19 02:49:44 +00:00
|
|
|
|
2015-02-15 06:05:08 +00:00
|
|
|
ENV TITAN_VERSION 0.5.4
|
2014-09-19 02:49:44 +00:00
|
|
|
|
2017-05-03 00:42:47 +00:00
|
|
|
ADD http://s3.thinkaurelius.com/downloads/titan/titan-$TITAN_VERSION-hadoop2.zip /tmp/titan.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"]
|