forked from sunsided/janusgraph-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.janus
24 lines (19 loc) · 931 Bytes
/
Dockerfile.janus
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 openjdk:8-jdk
MAINTAINER Markus Mayer <widemeadows@gmail.com>
ARG version=0.2.0
ARG hadoop=hadoop2
RUN apt-get update && \
apt-get install -y wget unzip htop && \
mkdir /workspace && \
cd /workspace && \
wget https://github.com/JanusGraph/janusgraph/releases/download/v$version/janusgraph-$version-$hadoop.zip && \
unzip janusgraph-$version-$hadoop.zip && \
rm janusgraph-$version-$hadoop.zip && \
mv janusgraph-* janusgraph
COPY janusgraph/run.sh /workspace/janusgraph
COPY janusgraph/gremlin-server.yaml /workspace/janusgraph/conf/gremlin-server/gremlin-server.yaml
COPY janusgraph/janusgraph.properties /workspace/janusgraph/janusgraph.properties
COPY janusgraph/empty-sample.groovy /workspace/janusgraph/scripts/empty-sample.groovy
WORKDIR /workspace/janusgraph
RUN bin/gremlin-server.sh -i org.apache.tinkerpop gremlin-python 3.2.6
CMD ["/bin/bash", "-e", "/workspace/janusgraph/run.sh"]