diff --git a/bitnami/matomo/4/debian-10/Dockerfile b/bitnami/matomo/4/debian-10/Dockerfile index 25605fc09a51..626fe6f0d4d8 100644 --- a/bitnami/matomo/4/debian-10/Dockerfile +++ b/bitnami/matomo/4/debian-10/Dockerfile @@ -31,7 +31,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \ APACHE_HTTPS_PORT_NUMBER="" \ APACHE_HTTP_PORT_NUMBER="" \ BITNAMI_APP_NAME="matomo" \ - BITNAMI_IMAGE_VERSION="4.3.1-debian-10-r19" \ + BITNAMI_IMAGE_VERSION="4.3.1-debian-10-r20" \ MARIADB_HOST="mariadb" \ MARIADB_PORT_NUMBER="3306" \ MARIADB_ROOT_PASSWORD="" \ diff --git a/bitnami/matomo/4/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh b/bitnami/matomo/4/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh index dbc8ac3011e1..a0c941c5ac05 100644 --- a/bitnami/matomo/4/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh +++ b/bitnami/matomo/4/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh @@ -348,6 +348,8 @@ is_mysql_not_running() { # Wait for MySQL/MariaDB to be running # Globals: # DB_TMP_DIR +# DB_STARTUP_WAIT_RETRIES +# DB_STARTUP_WAIT_SLEEP_TIME # Arguments: # None # Returns: @@ -355,8 +357,8 @@ is_mysql_not_running() { ######################### wait_for_mysql() { local pid - local -r retries=300 - local -r sleep_time=2 + local -r retries="${DB_STARTUP_WAIT_RETRIES:-300}" + local -r sleep_time="${DB_STARTUP_WAIT_SLEEP_TIME:-2}" if ! retry_while is_mysql_running "$retries" "$sleep_time"; then error "MySQL failed to start" return 1 diff --git a/bitnami/matomo/README.md b/bitnami/matomo/README.md index 87775f863755..1d40a92a98a9 100644 --- a/bitnami/matomo/README.md +++ b/bitnami/matomo/README.md @@ -36,7 +36,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/). -* [`4`, `4-debian-10`, `4.3.1`, `4.3.1-debian-10-r19`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-matomo/blob/4.3.1-debian-10-r19/4/debian-10/Dockerfile) +* [`4`, `4-debian-10`, `4.3.1`, `4.3.1-debian-10-r20`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-matomo/blob/4.3.1-debian-10-r20/4/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/matomo GitHub repo](https://github.com/bitnami/bitnami-docker-matomo).