forked from jgkim/neo4j-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (15 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM neo4j:3.0
MAINTAINER James G. Kim <[email protected]>
ENV NEO4J_PLUGINS_PATH /var/lib/neo4j/plugins/
ENV NEO4J_APOC_FILE apoc-3.0.8.4-all.jar
ENV NEO4J_APOC_SHA256 ea9538e6532a43443e4351b3eb4838642d2fe8f1d1b36de9e4900dabdb7e81d7
ENV NEO4J_APOC_URI https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.0.8.4/apoc-3.0.8.4-all.jar
ENV NEO4J_SPATIAL_FILE neo4j-spatial-0.23-neo4j-3.0.4-server-plugin.jar
ENV NEO4J_SPATIAL_SHA256 2c991a4e8181984d0e617526075171bd1b48cb61164750a228c63da3b0567437
ENV NEO4J_SPATIAL_URI https://github.com/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial/0.23-neo4j-3.0.4/neo4j-spatial-0.23-neo4j-3.0.4-server-plugin.jar?raw=true
RUN curl --fail --silent --show-error --location --output $NEO4J_APOC_FILE $NEO4J_APOC_URI \
&& echo "$NEO4J_APOC_SHA256 $NEO4J_APOC_FILE" | sha256sum --check --quiet - \
&& mv $NEO4J_APOC_FILE $NEO4J_PLUGINS_PATH
RUN curl --fail --silent --show-error --location --output $NEO4J_SPATIAL_FILE $NEO4J_SPATIAL_URI \
&& echo "$NEO4J_SPATIAL_SHA256 $NEO4J_SPATIAL_FILE" | sha256sum --check --quiet - \
&& mv $NEO4J_SPATIAL_FILE $NEO4J_PLUGINS_PATH