From 8d39c5567ca3538d4a296d3916241bddcc3e09c3 Mon Sep 17 00:00:00 2001 From: Mohamed Ashraf Date: Wed, 3 Jun 2020 17:14:51 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=E2=AC=86=EF=B8=8F=20Added=20Vault=20n?= =?UTF-8?q?eeded=20dependencies=20+=20upgraded=20neo4j=20to=20v4.04=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added jq v1.6 installation to the docker file * Merged vault logic with neo4j v4.0.4 Co-authored-by: Ahmed Tarek --- Dockerfile | 8 ++++++-- package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3474f34..5ab2d0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ @@ -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"] diff --git a/package.json b/package.json index 16508cd..7f19156 100644 --- a/package.json +++ b/package.json @@ -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": {