mirror of
https://github.com/bitnami/containers.git
synced 2026-02-13 07:47:15 +08:00
[bitnami/neo4j] Release 4.4.36-debian-12-r0 (#69947)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -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-08T21:53:38Z" \
|
||||
org.opencontainers.image.created="2024-07-24T15:23:24Z" \
|
||||
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="4.4.35-debian-12-r0" \
|
||||
org.opencontainers.image.ref.name="4.4.36-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="4.4.35"
|
||||
org.opencontainers.image.version="4.4.36"
|
||||
|
||||
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-11.0.23-12-0-linux-${OS_ARCH}-debian-12" \
|
||||
"neo4j-4.4.35-0-linux-${OS_ARCH}-debian-12" \
|
||||
"java-11.0.24-9-0-linux-${OS_ARCH}-debian-12" \
|
||||
"neo4j-4.4.36-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="4.4.35" \
|
||||
ENV APP_VERSION="4.4.36" \
|
||||
BITNAMI_APP_NAME="neo4j" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
JAVA_OPTS="-Duser.home=/opt/bitnami/neo4j/.home" \
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "11.0.23-12-0"
|
||||
"version": "11.0.24-9-0"
|
||||
},
|
||||
"neo4j": {
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "4.4.35-0"
|
||||
"version": "4.4.36-0"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
rolling-tags:
|
||||
- "4"
|
||||
- 4-debian-12
|
||||
- 4.4.35
|
||||
- 4.4.36
|
||||
|
||||
Reference in New Issue
Block a user