From 3e6000eaf9626ee0fee9cd0ec3ad528f7888acf1 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 9 Jun 2025 12:57:25 +0200 Subject: [PATCH] [bitnami/neo4j] Release 5.26.7-debian-12-r2 (#82130) Signed-off-by: Bitnami Bot --- bitnami/neo4j/5/debian-12/Dockerfile | 7 ++--- .../opt/bitnami/.bitnami_components.json | 2 +- .../prebuildfs/usr/sbin/uninstall_packages | 26 +++++++++++++++++++ bitnami/neo4j/README.md | 10 +++---- 4 files changed, 36 insertions(+), 9 deletions(-) create mode 100755 bitnami/neo4j/5/debian-12/prebuildfs/usr/sbin/uninstall_packages diff --git a/bitnami/neo4j/5/debian-12/Dockerfile b/bitnami/neo4j/5/debian-12/Dockerfile index 7d940584e1b8..db23bce62797 100644 --- a/bitnami/neo4j/5/debian-12/Dockerfile +++ b/bitnami/neo4j/5/debian-12/Dockerfile @@ -9,10 +9,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-05-30T15:27:09Z" \ + org.opencontainers.image.created="2025-06-09T10:34:35Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/neo4j/README.md" \ - org.opencontainers.image.ref.name="5.26.7-debian-12-r1" \ + org.opencontainers.image.ref.name="5.26.7-debian-12-r2" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/neo4j" \ org.opencontainers.image.title="neo4j" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -30,7 +30,7 @@ RUN install_packages ca-certificates curl jq procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ "jre-17.0.15-10-0-linux-${OS_ARCH}-debian-12" \ - "neo4j-5.26.7-0-linux-${OS_ARCH}-debian-12" \ + "neo4j-5.26.7-1-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -45,6 +45,7 @@ RUN apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true +RUN uninstall_packages curl COPY rootfs / RUN /opt/bitnami/scripts/java/postunpack.sh diff --git a/bitnami/neo4j/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/neo4j/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 4ed9125f6325..5c8b5b6357e9 100644 --- a/bitnami/neo4j/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/neo4j/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -9,6 +9,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "5.26.7-0" + "version": "5.26.7-1" } } \ No newline at end of file diff --git a/bitnami/neo4j/5/debian-12/prebuildfs/usr/sbin/uninstall_packages b/bitnami/neo4j/5/debian-12/prebuildfs/usr/sbin/uninstall_packages new file mode 100755 index 000000000000..615c430e4e68 --- /dev/null +++ b/bitnami/neo4j/5/debian-12/prebuildfs/usr/sbin/uninstall_packages @@ -0,0 +1,26 @@ +#!/bin/sh +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 +set -eu + +n=0 +max=2 +export DEBIAN_FRONTEND=noninteractive + +until [ $n -gt $max ]; do + set +e + ( + apt-get autoremove --purge -y "$@" + ) + CODE=$? + set -e + if [ $CODE -eq 0 ]; then + break + fi + if [ $n -eq $max ]; then + exit $CODE + fi + echo "apt failed, retrying" + n=$(($n + 1)) +done +apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/neo4j/README.md b/bitnami/neo4j/README.md index bd1b2f52e724..3c7d395b288b 100644 --- a/bitnami/neo4j/README.md +++ b/bitnami/neo4j/README.md @@ -129,9 +129,9 @@ services: networks: - neo4j-network ports: - - '7474:7474' - - '7473:7473' - - '7687:7687' + - 7474:7474 + - 7473:7473 + - 7687:7687 ``` Then, launch the containers using: @@ -223,7 +223,7 @@ Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/mai neo4j: ... volumes: - - '/local/path/to/your/confDir:/bitnami/neo4j/conf' + - /local/path/to/your/confDir:/bitnami/neo4j/conf ... ``` @@ -239,7 +239,7 @@ Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/mai neo4j: ... volumes: - - '/local/path/to/your/plugins:/bitnami/neo4j/plugins' + - /local/path/to/your/plugins:/bitnami/neo4j/plugins ... ```