[bitnami/neo4j] Release 5.22.0-debian-12-r0 (#69945)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-07-24 18:15:31 +02:00
committed by GitHub
parent 68dc8ef419
commit 76b89b43cf
4 changed files with 12 additions and 20 deletions

View File

@@ -8,15 +8,15 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-07-09T18:48:19Z" \
org.opencontainers.image.created="2024-07-24T15:09:37Z" \
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.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="5.21.2-debian-12-r0" \
org.opencontainers.image.ref.name="5.22.0-debian-12-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/neo4j" \
org.opencontainers.image.title="neo4j" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="5.21.2"
org.opencontainers.image.version="5.22.0"
ENV HOME="/opt/bitnami/neo4j/.home" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -29,8 +29,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl jq procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"java-17.0.11-12-0-linux-${OS_ARCH}-debian-12" \
"neo4j-5.21.2-0-linux-${OS_ARCH}-debian-12" \
"java-17.0.12-10-0-linux-${OS_ARCH}-debian-12" \
"neo4j-5.22.0-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -50,7 +50,7 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/neo4j/postunpack.sh
ENV APP_VERSION="5.21.2" \
ENV APP_VERSION="5.22.0" \
BITNAMI_APP_NAME="neo4j" \
JAVA_HOME="/opt/bitnami/java" \
JAVA_OPTS="-Duser.home=/opt/bitnami/neo4j/.home" \

View File

@@ -3,12 +3,12 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "17.0.11-12-0"
"version": "17.0.12-10-0"
},
"neo4j": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "5.21.2-0"
"version": "5.22.0-0"
}
}

View File

@@ -238,26 +238,18 @@ neo4j_initialize() {
info "Found mounted apoc.conf file in ${NEO4J_MOUNTED_CONF_DIR}/apoc.conf. The APOC plugin configuration will be skipped"
fi
local -r app_name="neo4j"
if ! is_app_initialized "$app_name"; then
if is_mounted_dir_empty "$NEO4J_DATA_DIR"; then
info "Deploying Neo4j from scratch"
neo4j_create_admin_user
else
info "Deploying Neo4j with persisted data"
fi
# When running as 'root' user, ensure the Neo4j user has ownership and minimum permissions are set
# When running as 'root' user, ensure the Neo4j user has ownership
if am_i_root; then
info "Configuring file permissions for Neo4j"
## Directories that should have read-only permissions
for dir in "$NEO4J_IMPORT_DIR" "${NEO4J_BASE_DIR}/lib" "$NEO4J_CERTIFICATES_DIR" "$NEO4J_MOUNTED_CONF_DIR" "$NEO4J_MOUNTED_PLUGINS_DIR" "$NEO4J_INITSCRIPTS_DIR" "$NEO4J_PLUGINS_DIR" "$NEO4J_CONF_DIR"; do
ensure_dir_exists "$dir"
configure_permissions_ownership "$dir" -u "$NEO4J_DAEMON_USER" -g "$NEO4J_DAEMON_GROUP" -d 500 -f 400
done
## Directories that should have write permissions
for dir in "$NEO4J_LOGS_DIR" "$NEO4J_DATA_DIR" "$NEO4J_RUN_DIR" "$NEO4J_METRICS_DIR"; do
ensure_dir_exists "$dir"
configure_permissions_ownership "$dir" -u "$NEO4J_DAEMON_USER" -g "$NEO4J_DAEMON_GROUP" -d 700 -f 600
configure_permissions_ownership "$dir" -u "$NEO4J_DAEMON_USER" -g "$NEO4J_DAEMON_GROUP" -d 755 -f 644
done
fi
}

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "5"
- 5-debian-12
- 5.21.2
- 5.22.0
- latest