Skip to content

Commit

Permalink
✨⬆️ Added Vault needed dependencies + upgraded neo4j to v4.04 (#5)
Browse files Browse the repository at this point in the history
* Added jq v1.6 installation to the docker file

* Merged vault logic with neo4j v4.0.4

Co-authored-by: Ahmed Tarek <[email protected]>
  • Loading branch information
Kefa7y and a-tokyo authored Jun 3, 2020
1 parent 63e67d0 commit 8d39c55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM neo4j:4.0.0-enterprise
FROM neo4j:4.0.4-enterprise

ENV _JAVA_OPTIONS=-Xmx2g \
NEO4J_ACCEPT_LICENSE_AGREEMENT='yes' \
NEO4J_dbms_connector_http_listen__address=':7474' \
NEO4J_dbms_connector_bolt_listen__address=':7687' \
NEO4J_PLUGINS_PATH=/var/lib/neo4j/plugins \
NEO4J_APOC_PLUGIN_VERSION=4.0.0.2 \
NEO4J_APOC_PLUGIN_VERSION=4.0.0.13 \
NEO4J_APOC_PLUGIN_PATH=$NEO4J_PLUGINS_PATH/apoc-$NEO4J_APOC_PLUGIN_VERSION-all.jar \
NEO4J_apoc_export_file_enabled=true \
NEO4J_apoc_import_file_enabled=true \
Expand All @@ -15,5 +15,9 @@ RUN apt-get update && apt-get -qq -y install wget
RUN wget https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/$NEO4J_APOC_PLUGIN_VERSION/apoc-$NEO4J_APOC_PLUGIN_VERSION-all.jar
RUN mv apoc-$NEO4J_APOC_PLUGIN_VERSION-all.jar $NEO4J_PLUGINS_PATH/apoc.jar

# Add and verify jq
ADD https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 /usr/bin/jq
RUN chmod +x /usr/bin/jq

ENTRYPOINT ["/sbin/tini", "-g", "--", "/docker-entrypoint.sh"]
CMD ["neo4j"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pluralcom/docker-neo4j",
"version": "4.0.0-enterprise-p.0",
"version": "4.0.4-enterprise-p.0",
"private": true,
"description": "🐳 Docker container files that are used to backup Neo4j on EKS' Kubernetes",
"repository": {
Expand Down

0 comments on commit 8d39c55

Please sign in to comment.