diff --git a/bitnami/moodle/4.2/debian-11/Dockerfile b/bitnami/moodle/4.2/debian-11/Dockerfile index 6ecbb323a4bf..b339c75271d9 100644 --- a/bitnami/moodle/4.2/debian-11/Dockerfile +++ b/bitnami/moodle/4.2/debian-11/Dockerfile @@ -8,10 +8,10 @@ ARG TARGETARCH ARG WITH_ALL_LOCALES="no" LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-06-27T08:24:54Z" \ + org.opencontainers.image.created="2023-06-30T09:22:02Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="4.2.1-debian-11-r5" \ + org.opencontainers.image.ref.name="4.2.1-debian-11-r6" \ org.opencontainers.image.title="moodle" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="4.2.1" @@ -32,7 +32,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ "postgresql-client-13.11.0-1-linux-${OS_ARCH}-debian-11" \ "mysql-client-10.11.4-0-linux-${OS_ARCH}-debian-11" \ "libphp-8.1.20-0-linux-${OS_ARCH}-debian-11" \ - "render-template-1.0.5-6-linux-${OS_ARCH}-debian-11" \ + "render-template-1.0.5-7-linux-${OS_ARCH}-debian-11" \ "moodle-4.2.1-0-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ diff --git a/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 13def6680704..282bed64cb7d 100644 --- a/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -39,6 +39,6 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.0.5-6" + "version": "1.0.5-7" } } \ No newline at end of file diff --git a/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh index 08fffa531ef1..107f54e6b5c9 100644 --- a/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/moodle/4.2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh @@ -106,8 +106,6 @@ generate_cron_conf() { local schedule="* * * * *" local clean="true" - local clean="true" - # Parse optional CLI flags shift 2 while [[ "$#" -gt 0 ]]; do @@ -133,7 +131,12 @@ generate_cron_conf() { mkdir -p /etc/cron.d if "$clean"; then - echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name" + cat > "/etc/cron.d/${service_name}" <> /etc/cron.d/"$service_name" fi @@ -189,7 +192,10 @@ generate_monit_conf() { is_boolean_yes "$disabled" && conf_suffix=".disabled" mkdir -p "$monit_conf_dir" - cat >"${monit_conf_dir}/${service_name}.conf${conf_suffix:-}" < "${monit_conf_dir}/${service_name}.conf${conf_suffix:-}" <"${logrotate_conf_dir}/${service_name}" + cat < "${logrotate_conf_dir}/${service_name}" +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + ${log_path} { ${period} rotate ${rotations} @@ -393,6 +402,9 @@ generate_systemd_conf() { fi # Generate the Systemd unit cat > "$service_file" <