diff --git a/bitnami/drupal/8/debian-10/Dockerfile b/bitnami/drupal/8/debian-10/Dockerfile index daac3fc5a4ec..e9b0de977a5b 100644 --- a/bitnami/drupal/8/debian-10/Dockerfile +++ b/bitnami/drupal/8/debian-10/Dockerfile @@ -29,7 +29,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \ APACHE_HTTPS_PORT_NUMBER="" \ APACHE_HTTP_PORT_NUMBER="" \ BITNAMI_APP_NAME="drupal" \ - BITNAMI_IMAGE_VERSION="8.9.15-debian-10-r18" \ + BITNAMI_IMAGE_VERSION="8.9.15-debian-10-r19" \ MARIADB_HOST="mariadb" \ MARIADB_PORT_NUMBER="3306" \ MARIADB_ROOT_PASSWORD="" \ diff --git a/bitnami/drupal/8/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh b/bitnami/drupal/8/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh index 43979b4d54e1..dbc8ac3011e1 100644 --- a/bitnami/drupal/8/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh +++ b/bitnami/drupal/8/debian-10/rootfs/opt/bitnami/scripts/libmysqlclient.sh @@ -437,6 +437,11 @@ mysql_install_db() { am_i_root && args=("${args[@]}" "--user=$DB_DAEMON_USER") if [[ "$DB_FLAVOR" = "mariadb" ]]; then args+=("--auth-root-authentication-method=normal") + # Feature available only in MariaDB 10.5+ + # ref: https://mariadb.com/kb/en/mysql_install_db/#not-creating-the-test-database-and-anonymous-user + if [[ ! "$(mysql_get_version)" =~ ^10\.[01234]\. ]]; then + is_boolean_yes "$DB_SKIP_TEST_DB" && args+=("--skip-test-db") + fi else command="${DB_BIN_DIR}/mysqld" args+=("--initialize-insecure") diff --git a/bitnami/drupal/README.md b/bitnami/drupal/README.md index f80ad9387473..b4d798539a8b 100644 --- a/bitnami/drupal/README.md +++ b/bitnami/drupal/README.md @@ -42,7 +42,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`9`, `9-debian-10`, `9.1.8`, `9.1.8-debian-10-r17`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/9.1.8-debian-10-r17/9/debian-10/Dockerfile) -* [`8`, `8-debian-10`, `8.9.15`, `8.9.15-debian-10-r18` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/8.9.15-debian-10-r18/8/debian-10/Dockerfile) +* [`8`, `8-debian-10`, `8.9.15`, `8.9.15-debian-10-r19` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal/blob/8.9.15-debian-10-r19/8/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/drupal GitHub repo](https://github.com/bitnami/bitnami-docker-drupal).