mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
3.11.0-debian-10-r2 release
This commit is contained in:
@@ -39,7 +39,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \
|
||||
APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
BITNAMI_APP_NAME="moodle" \
|
||||
BITNAMI_IMAGE_VERSION="3.11.0-debian-10-r1" \
|
||||
BITNAMI_IMAGE_VERSION="3.11.0-debian-10-r2" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
|
||||
@@ -398,10 +398,27 @@ wait_for_mysql_access() {
|
||||
# None
|
||||
#########################
|
||||
mysql_stop() {
|
||||
local -r retries=25
|
||||
local -r sleep_time=5
|
||||
|
||||
are_db_files_locked() {
|
||||
local return_value=0
|
||||
read -r -a db_files <<< "$(find "$DB_DATA_DIR" -regex "^.*ibdata[0-9]+" -print0 -o -regex "^.*ib_logfile[0-9]+" -print0 | xargs -0)"
|
||||
for f in "${db_files[@]}"; do
|
||||
debug_execute lsof -w "$f" && return_value=1
|
||||
done
|
||||
return $return_value
|
||||
}
|
||||
|
||||
! is_mysql_running && return
|
||||
|
||||
info "Stopping $DB_FLAVOR"
|
||||
stop_service_using_pid "$DB_PID_FILE"
|
||||
debug "Waiting for $DB_FLAVOR to unlock db files"
|
||||
if ! retry_while are_db_files_locked "$retries" "$sleep_time"; then
|
||||
error "$DB_FLAVOR failed to stop"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
||||
@@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`3`, `3-debian-10`, `3.11.0`, `3.11.0-debian-10-r1`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-moodle/blob/3.11.0-debian-10-r1/3/debian-10/Dockerfile)
|
||||
* [`3`, `3-debian-10`, `3.11.0`, `3.11.0-debian-10-r2`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-moodle/blob/3.11.0-debian-10-r2/3/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/moodle GitHub repo](https://github.com/bitnami/bitnami-docker-moodle).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user