From d87bdb1f554a4c0a9a41c52b7774d66ba2d827f2 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 1 Apr 2024 14:41:32 +0200 Subject: [PATCH] [bitnami/magento] Release 2.4.6-debian-12-r24 (#64564) Signed-off-by: Bitnami Containers --- bitnami/magento/2/debian-12/Dockerfile | 4 ++-- .../rootfs/opt/bitnami/scripts/magento/postunpack.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bitnami/magento/2/debian-12/Dockerfile b/bitnami/magento/2/debian-12/Dockerfile index c44388d20dc5..4ae19e5fde26 100644 --- a/bitnami/magento/2/debian-12/Dockerfile +++ b/bitnami/magento/2/debian-12/Dockerfile @@ -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-03-31T17:38:43Z" \ + org.opencontainers.image.created="2024-04-01T11:37:22Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.4.6-debian-12-r23" \ + org.opencontainers.image.ref.name="2.4.6-debian-12-r24" \ org.opencontainers.image.title="magento" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.4.6" diff --git a/bitnami/magento/2/debian-12/rootfs/opt/bitnami/scripts/magento/postunpack.sh b/bitnami/magento/2/debian-12/rootfs/opt/bitnami/scripts/magento/postunpack.sh index 253bf4144693..c84c93cbb656 100755 --- a/bitnami/magento/2/debian-12/rootfs/opt/bitnami/scripts/magento/postunpack.sh +++ b/bitnami/magento/2/debian-12/rootfs/opt/bitnami/scripts/magento/postunpack.sh @@ -57,3 +57,7 @@ ensure_web_server_app_configuration_exists "magento" --type php \ # Grant execution permissions for the Magento CLI chmod 775 "${MAGENTO_BIN_DIR}/magento" + +# Copy all initially generated configuration files to the default directory +# (this is to avoid breaking when entrypoint is being overridden) +cp -r "/opt/bitnami/$(web_server_type)/conf"/* "/opt/bitnami/$(web_server_type)/conf.default"