mirror of
https://github.com/bitnami/containers.git
synced 2026-03-23 14:57:41 +08:00
4.4.0-debian-10-r8 release
This commit is contained in:
@@ -20,7 +20,7 @@ COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/neo4j/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="neo4j" \
|
||||
BITNAMI_IMAGE_VERSION="4.4.0-debian-10-r7" \
|
||||
BITNAMI_IMAGE_VERSION="4.4.0-debian-10-r8" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
NEO4J_BOLT_PORT_NUMBER="" \
|
||||
NEO4J_HOST="" \
|
||||
|
||||
@@ -20,8 +20,13 @@
|
||||
owned_by() {
|
||||
local path="${1:?path is missing}"
|
||||
local owner="${2:?owner is missing}"
|
||||
local group="${3:-}"
|
||||
|
||||
chown "$owner":"$owner" "$path"
|
||||
if [[ -n $group ]]; then
|
||||
chown "$owner":"$group" "$path"
|
||||
else
|
||||
chown "$owner":"$owner" "$path"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
@@ -34,11 +39,12 @@ owned_by() {
|
||||
#########################
|
||||
ensure_dir_exists() {
|
||||
local dir="${1:?directory is missing}"
|
||||
local owner="${2:-}"
|
||||
local owner_user="${2:-}"
|
||||
local owner_group="${3:-}"
|
||||
|
||||
mkdir -p "${dir}"
|
||||
if [[ -n $owner ]]; then
|
||||
owned_by "$dir" "$owner"
|
||||
if [[ -n $owner_user ]]; then
|
||||
owned_by "$dir" "$owner_user" "$owner_group"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user