diff --git a/bitnami/moodle/3/debian-11/Dockerfile b/bitnami/moodle/3/debian-11/Dockerfile index 5284cf2db61d..008434c80e11 100644 --- a/bitnami/moodle/3/debian-11/Dockerfile +++ b/bitnami/moodle/3/debian-11/Dockerfile @@ -7,7 +7,7 @@ ARG WITH_ALL_LOCALES="no" LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="3.11.11-debian-11-r24" \ + org.opencontainers.image.ref.name="3.11.11-debian-11-r25" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/moodle" \ org.opencontainers.image.title="moodle" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -29,7 +29,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ "postgresql-client-13.9.0-1-linux-${OS_ARCH}-debian-11" \ "mysql-client-10.6.11-2-linux-${OS_ARCH}-debian-11" \ "libphp-8.0.27-2-linux-${OS_ARCH}-debian-11" \ - "render-template-1.0.4-2-linux-${OS_ARCH}-debian-11" \ + "render-template-1.0.5-0-linux-${OS_ARCH}-debian-11" \ "moodle-3.11.11-3-linux-${OS_ARCH}-debian-11" \ "gosu-1.16.0-1-linux-${OS_ARCH}-debian-11" \ ) && \ diff --git a/bitnami/moodle/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/moodle/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index ac7543011c7a..f30d54551b52 100644 --- a/bitnami/moodle/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/moodle/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -50,9 +50,9 @@ }, "render-template": { "arch": "amd64", - "digest": "64bd7fafa98c548438f7c304bdac850a7f048bd8c2135af613b8748a370f1ef0", + "digest": "57c1d857acbb187fcb98f4ba26d138af9d866f59ad38dd443a75c0a6422de994", "distro": "debian-11", "type": "NAMI", - "version": "1.0.4-2" + "version": "1.0.5-0" } } \ No newline at end of file diff --git a/bitnami/moodle/3/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh b/bitnami/moodle/3/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh index 3238c296a119..bc028e46e22f 100755 --- a/bitnami/moodle/3/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh +++ b/bitnami/moodle/3/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh @@ -26,9 +26,6 @@ php_conf_set "listen" "$PHP_FPM_DEFAULT_LISTEN_ADDRESS" "${PHP_CONF_DIR}/php-fpm php_conf_set "upload_tmp_dir" "${PHP_BASE_DIR}/tmp" php_conf_set "session.save_path" "${PHP_TMP_DIR}/session" -# Log errors to stdout for easy debugging -php_conf_set "error_log" "/dev/stderr" - # Ensure directories used by PHP-FPM exist and have proper ownership and permissions for dir in "$PHP_CONF_DIR" "${PHP_BASE_DIR}/tmp" "$PHP_TMP_DIR" "$PHP_FPM_LOGS_DIR" "${PHP_TMP_DIR}/session"; do ensure_dir_exists "$dir" @@ -39,4 +36,6 @@ info "Disabling PHP-FPM daemon user/group configuration" mv "${PHP_CONF_DIR}/common.conf" "${PHP_CONF_DIR}/common.conf.disabled" touch "${PHP_CONF_DIR}/common.conf" +# Log to stdout/stderr for easy debugging ln -sf "/dev/stdout" "$PHP_FPM_LOG_FILE" +php_conf_set "error_log" "/dev/stderr"