diff --git a/neo4j/Dockerfile b/neo4j/Dockerfile index 4f528d30510f8fcf2754937dcc62e93328721950..90f5bd71ec9709777454600c5455332bd61e51a7 100644 --- a/neo4j/Dockerfile +++ b/neo4j/Dockerfile @@ -17,6 +17,8 @@ FROM registry.cn-hangzhou.aliyuncs.com/schbrain/jdk:8u172 MAINTAINER xt +ENV NEO4J_EDITION=community + #ARG NEO4J_URI=http://dist.neo4j.org/neo4j-community-3.4.0-unix.tar.gz ADD neo4j-community-3.4.0-unix.tar.gz /var/lib diff --git a/neo4j/docker-entrypoint.sh b/neo4j/docker-entrypoint.sh index e8fcd681031ea29367f1d70dfc091d0407920ce4..5ab0568ba4054df5fc94917ae196f0535163a92b 100755 --- a/neo4j/docker-entrypoint.sh +++ b/neo4j/docker-entrypoint.sh @@ -9,7 +9,7 @@ cmd="$1" if [ "$(id -u)" = "0" ]; then userid="neo4j" groupid="neo4j" - exec_cmd="exec su-exec neo4j" + exec_cmd="exec neo4j" else userid="$(id -u)" groupid="$(id -g)"