[bitnami/moodle] Release 3.11.10-debian-11-r8 (#8162)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2022-09-28 14:23:37 +02:00
committed by GitHub
parent 5ed0ae9de9
commit bcec2f47a1
3 changed files with 4 additions and 10 deletions

View File

@@ -6,7 +6,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.ref.name="3.11.10-debian-11-r7" \
org.opencontainers.image.ref.name="3.11.10-debian-11-r8" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/moodle" \
org.opencontainers.image.title="moodle" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@@ -388,20 +388,14 @@ moodle_configure_wwwroot() {
# sed replacement notes:
# - The ampersand ('&') is escaped due to sed replacing any non-escaped ampersand characters with the matched string
# - For the replacement text to be multi-line, an \ needs to be specified to escape the newline character
local conf_to_replace="if (empty(\$_SERVER['HTTP_HOST'])) {\\
local -r conf_to_replace="if (empty(\$_SERVER['HTTP_HOST'])) {\\
\$_SERVER['HTTP_HOST'] = '127.0.0.1:${http_port}';\\
}"
if is_boolean_yes "$MOODLE_SSLPROXY"; then
conf_to_replace="$conf_to_replace\\
\$CFG->wwwroot = 'https://' . ${host};"
else
conf_to_replace="$conf_to_replace\\
}\\
if (isset(\$_SERVER['HTTPS']) \&\& \$_SERVER['HTTPS'] == 'on') {\\
\$CFG->wwwroot = 'https://' . ${host};\\
} else {\\
\$CFG->wwwroot = 'http://' . ${host};\\
}"
fi
replace_in_file "$MOODLE_CONF_FILE" "\\\$CFG->wwwroot\s*=.*" "$conf_to_replace"
}

View File

@@ -38,7 +38,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`4`, `4-debian-11`, `4.0.4`, `4.0.4-debian-11-r7`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/moodle/4/debian-11/Dockerfile)
* [`3`, `3-debian-11`, `3.11.10`, `3.11.10-debian-11-r7` (3/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/moodle/3/debian-11/Dockerfile)
* [`3`, `3-debian-11`, `3.11.10`, `3.11.10-debian-11-r8` (3/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/moodle/3/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).