From 49c715fc55f1a03ad63017f2d08407ffa6323da3 Mon Sep 17 00:00:00 2001 From: GuangJie1 Date: Wed, 20 Aug 2025 16:43:20 +0800 Subject: [PATCH] upgrade neo4j --- .../neo4j/2025.07.0/24.03-lts-sp2/Dockerfile | 28 +++++++++++++++++++ Database/neo4j/README.md | 8 ++++-- Database/neo4j/doc/image-info.yml | 7 +++-- Database/neo4j/meta.yml | 4 ++- 4 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile diff --git a/Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile b/Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..2a4b9a54 --- /dev/null +++ b/Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,28 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM $BASE +ARG VERSION=2025.07.0 +ARG MAVEN_VERSION=3.9.1 + +RUN yum install -y java-21-openjdk java-21-openjdk-devel git && \ + curl -fSL -o apache-maven.tar.gz https://repo.huaweicloud.com/apache/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz && \ + mkdir -p /usr/local/maven && \ + tar -zxf apache-maven.tar.gz -C /usr/local/maven --strip-components=1 && \ + rm -rf apache-maven.tar.gz +ENV PATH=$PATH:/usr/local/maven/bin + +RUN git clone -b ${VERSION} https://github.com/neo4j/neo4j.git && \ + cd neo4j && \ + mvn clean install -T4C -DskipTests && \ + cd /neo4j/packaging/standalone/target/ && \ + tar -xvf neo4j-community-${VERSION}-unix.tar.gz +ENV NEO4J_HOME=/neo4j/packaging/standalone/target/neo4j-community-${VERSION} + +RUN curl -fSL -o ${NEO4J_HOME}/lib/neo4j-browser-5.9.0.jar https://repo.maven.apache.org/maven2/org/neo4j/client/neo4j-browser/5.9.0/neo4j-browser-5.9.0.jar && \ + sed -i '$a\server.memory.pagecache.size=512M' ${NEO4J_HOME}/conf/neo4j.conf && \ + sed -i '$a\server.default_listen_address=0.0.0.0' ${NEO4J_HOME}/conf/neo4j.conf + +ENV PATH=$PATH:${NEO4J_HOME}/bin +WORKDIR ${NEO4J_HOME} + +EXPOSE 7474 7687 7473 +CMD ["neo4j", "console"] \ No newline at end of file diff --git a/Database/neo4j/README.md b/Database/neo4j/README.md index 822c1ef8..79ab7765 100644 --- a/Database/neo4j/README.md +++ b/Database/neo4j/README.md @@ -15,9 +15,11 @@ Learn more about neo4j at [http://neo4j.com/](http://neo4j.com/). # Supported tags and respective Dockerfile links The tag of each `neo4j` docker image is consist of the version of `neo4j` and the version of basic image. The details are as follows -| Tag | Currently | Architectures | -|----------|-------------|------------------| -|[5.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/5.26.7/24.03-lts-sp1/Dockerfile)| Neo4j 5.26.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +| Tag | Currently | Architectures | +|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|---------------| +| [5.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/5.26.7/24.03-lts-sp1/Dockerfile) | Neo4j 5.26.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | +| [2025.07.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile) | Neo4j 2025.07.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | # Usage diff --git a/Database/neo4j/doc/image-info.yml b/Database/neo4j/doc/image-info.yml index 8702ed49..6417a1d9 100644 --- a/Database/neo4j/doc/image-info.yml +++ b/Database/neo4j/doc/image-info.yml @@ -9,9 +9,10 @@ environment: | tags: | neo4j镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 - | Tag | Currently | Architectures | - |----------|-------------|------------------| - |[5.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/5.26.7/24.03-lts-sp1/Dockerfile)| Neo4j 5.26.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + | Tag | Currently | Architectures | + |------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|---------------| + | [5.26.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/5.26.7/24.03-lts-sp1/Dockerfile) | Neo4j 5.26.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + | [2025.07.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Database/neo4j/2025.07.0/24.03-lts-sp2/Dockerfile) | Neo4j 2025.07.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | download: | 拉取镜像到本地 diff --git a/Database/neo4j/meta.yml b/Database/neo4j/meta.yml index e966151e..892040cd 100644 --- a/Database/neo4j/meta.yml +++ b/Database/neo4j/meta.yml @@ -1,2 +1,4 @@ 5.26.7-oe2403sp1: - path: 5.26.7/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 5.26.7/24.03-lts-sp1/Dockerfile +2025.07.0-oe2403sp2: + path: 2025.07.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee