Skip to content

Commit

Permalink
Merge branch 'main' into BED-5033-RelayADCSComposition
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Feb 26, 2025
2 parents d4a2e8d + 4790b74 commit 82b1fe1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/docker-compose/neo4j.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Copyright 2023 Specter Ops, Inc.
#
#
# Licensed under the Apache License, Version 2.0
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# SPDX-License-Identifier: Apache-2.0

FROM docker.io/library/neo4j:4.4.32 as base
FROM docker.io/library/neo4j:5.26.1 as base

ARG memconfig

Expand All @@ -23,6 +23,6 @@ RUN echo "dbms.security.auth_enabled=false" >> /var/lib/neo4j/conf/neo4j.conf &&
echo "dbms.security.procedures.unrestricted=apoc.periodic.*,*.specterops.*" >> /var/lib/neo4j/conf/neo4j.conf && \
echo "dbms.security.procedures.allowlist=apoc.periodic.*,*.specterops.*" >> /var/lib/neo4j/conf/neo4j.conf

RUN if [ "$memconfig" = "true" ]; then neo4j-admin memrec >> /var/lib/neo4j/conf/neo4j.conf; fi
RUN if [ "$memconfig" = "true" ]; then neo4j-admin server memory-recommendation >> /var/lib/neo4j/conf/neo4j.conf; fi

RUN cp /var/lib/neo4j/labs/apoc-4.4.0.26-core.jar /var/lib/neo4j/plugins/apoc-4.4.0.26-core.jar
RUN cp /var/lib/neo4j/labs/apoc-5.26.1-core.jar /var/lib/neo4j/plugins/apoc-5.26.1-core.jar

0 comments on commit 82b1fe1

Please sign in to comment.