File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ RUN apk add --no-cache --quiet \
55 curl
66
77ENV NEO4J_SHA256=dbbc65683d65018c48fc14d82ee7691ca75f8f6ea79823b21291970638de5d88 \
8- NEO4J_TARBALL=neo4j-community-3.3.0-unix.tar.gz
8+ NEO4J_TARBALL=neo4j-community-3.3.0-unix.tar.gz \
9+ NEO4J_EDITION=community
910ARG NEO4J_URI=http://dist.neo4j.org/neo4j-community-3.3.0-unix.tar.gz
1011
1112COPY ./local-package/* /tmp/
Original file line number Diff line number Diff line change 11#! /bin/bash -eu
22
33if [ " $1 " == " neo4j" ]; then
4+ if [ " $NEO4J_EDITION " == " enterprise" ]; then
5+ if [ " ${NEO4J_ACCEPT_LICENSE_AGREEMENT:= no} " != " yes" ]; then
6+ echo "
7+ In order to use Neo4j Enterprise Edition you must accept the license agreement.
8+
9+ (c) Network Engine for Objects in Lund AB. 2017. All Rights Reserved.
10+ Use of this Software without a proper commercial license with Neo4j,
11+ Inc. or its affiliates is prohibited.
12+
13+ Email inquiries can be directed to: licensing@neo4j.com
14+
15+ More information is also available at: https://neo4j.com/licensing/
16+
17+
18+ To accept the license agreemnt set the environment variable
19+ NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
20+
21+ To do this you can use the following docker argument:
22+
23+ --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
24+ "
25+ exit 1
26+ fi
27+ fi
428
529 # Env variable naming convention:
630 # - prefix NEO4J_
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ RUN apk add --no-cache --quiet \
55 curl
66
77ENV NEO4J_SHA256=62914134ce50cbb251bb70ef9311516808c5278412aade1a13c03239a0c18214 \
8- NEO4J_TARBALL=neo4j-enterprise-3.3.0-unix.tar.gz
8+ NEO4J_TARBALL=neo4j-enterprise-3.3.0-unix.tar.gz \
9+ NEO4J_EDITION=enterprise
910ARG NEO4J_URI=http://dist.neo4j.org/neo4j-enterprise-3.3.0-unix.tar.gz
1011
1112COPY ./local-package/* /tmp/
Original file line number Diff line number Diff line change 11#! /bin/bash -eu
22
33if [ " $1 " == " neo4j" ]; then
4+ if [ " $NEO4J_EDITION " == " enterprise" ]; then
5+ if [ " ${NEO4J_ACCEPT_LICENSE_AGREEMENT:= no} " != " yes" ]; then
6+ echo "
7+ In order to use Neo4j Enterprise Edition you must accept the license agreement.
8+
9+ (c) Network Engine for Objects in Lund AB. 2017. All Rights Reserved.
10+ Use of this Software without a proper commercial license with Neo4j,
11+ Inc. or its affiliates is prohibited.
12+
13+ Email inquiries can be directed to: licensing@neo4j.com
14+
15+ More information is also available at: https://neo4j.com/licensing/
16+
17+
18+ To accept the license agreemnt set the environment variable
19+ NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
20+
21+ To do this you can use the following docker argument:
22+
23+ --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
24+ "
25+ exit 1
26+ fi
27+ fi
428
529 # Env variable naming convention:
630 # - prefix NEO4J_
You can’t perform that action at this time.
0 commit comments