Last active
January 16, 2019 17:23
-
-
Save CliffordAnderson/f0d01d66271fe305ab1391286a1f14d8 to your computer and use it in GitHub Desktop.
Docker Image for Neo4j with APOC and Spatial plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adding APOC and the Spatial Library to Official Neo4j Docker Image | |
FROM neo4j:latest | |
MAINTAINER Clifford Anderson <[email protected]> | |
ENV APOC_URI https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.0.4.1/apoc-3.0.4.1-all.jar | |
ENV GIS_URI https://github.com/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial/0.19-neo4j-3.0.3/neo4j-spatial-0.19-neo4j-3.0.3-server-plugin.jar?raw=true | |
RUN mv plugins /plugins \ | |
&& ln --symbolic /plugins | |
RUN curl --fail --silent --show-error --location --output apoc-3.0.4.1-all.jar $APOC_URI \ | |
&& mv apoc-3.0.4.1-all.jar /plugins | |
RUN curl --fail --silent --show-error --location --output neo4j-spatial-0.19-neo4j-3.0.3-server-plugin.jar $GIS_URI \ | |
&& mv neo4j-spatial-0.19-neo4j-3.0.3-server-plugin.jar /plugins | |
EXPOSE 7474 7473 7687 | |
CMD ["neo4j"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had success removing L9-10 and instead of L12-13 I
mv
'd the jar directly into the plugins folder:NOTE the newer version of apoc I used, make sure yours is consistent as @briantq stated