[bitnami/drupal] Release 10.2.4-debian-12-r7 (#64567)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-04-01 16:40:21 +02:00
committed by GitHub
parent 73e3c76463
commit 4273f5343a
2 changed files with 7 additions and 2 deletions

View File

@@ -7,10 +7,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="2024-04-01T11:37:26Z" \
org.opencontainers.image.created="2024-04-01T13:53:21Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="10.2.4-debian-12-r6" \
org.opencontainers.image.ref.name="10.2.4-debian-12-r7" \
org.opencontainers.image.title="drupal" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="10.2.4"

View File

@@ -299,6 +299,11 @@ drupal_site_install() {
# Restrict permissions of the configuration file to keep the site secure
if am_i_root; then
configure_permissions_ownership "$DRUPAL_CONF_FILE" -u "root" -g "$WEB_SERVER_DAEMON_USER" -f "644"
else
# HACK: The drupal installation is changing the ownership of the sites/default folder. When running as
# 1001:1001 this is causing an issue with the persist_app function. This sets the folder with write permissions
# so the function works. We add || true to not break docker-compose installations
chmod u+w "${DRUPAL_BASE_DIR}/sites/default" || true
fi
}