10.2.31-debian-10-r103 release
This commit is contained in:
parent
58dfd2dcf0
commit
895f03bcd0
|
|
@ -19,7 +19,7 @@ RUN mkdir /docker-entrypoint-initdb.d
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/mariadb/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="mariadb" \
|
||||
BITNAMI_IMAGE_VERSION="10.2.31-debian-10-r102" \
|
||||
BITNAMI_IMAGE_VERSION="10.2.31-debian-10-r103" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PATH="/opt/bitnami/mariadb/bin:/opt/bitnami/mariadb/sbin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
|
|
|
|||
|
|
@ -911,16 +911,16 @@ mysql_ensure_user_exists() {
|
|||
if [[ -n "$ssl_ca" ]]; then
|
||||
opts+=("--ssl-ca" "$ssl_ca")
|
||||
fi
|
||||
mysql_execute "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]}" <<EOF
|
||||
mysql_execute "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]:-}" <<EOF
|
||||
create $([[ "$DB_FLAVOR" = "mariadb" ]] && echo "or replace") user '$user'@'%' $auth_string;
|
||||
EOF
|
||||
debug "Removing all other hosts for the user"
|
||||
hosts=$(mysql_execute_print_output "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]}" <<EOF
|
||||
hosts=$(mysql_execute_print_output "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]:-}" <<EOF
|
||||
select Host from user where User='$user' and Host!='%';
|
||||
EOF
|
||||
)
|
||||
for host in $hosts; do
|
||||
mysql_execute "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]}" <<EOF
|
||||
mysql_execute "mysql" "$DB_ROOT_USER" "$DB_ROOT_PASSWORD" "${opts[@]:-}" <<EOF
|
||||
drop user '$user'@'$host';
|
||||
EOF
|
||||
done
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
* [`10.4-debian-10`, `10.4.12-debian-10-r103`, `10.4`, `10.4.12` (10.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mariadb/blob/10.4.12-debian-10-r103/10.4/debian-10/Dockerfile)
|
||||
* [`10.3-debian-10`, `10.3.22-debian-10-r109`, `10.3`, `10.3.22`, `latest` (10.3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mariadb/blob/10.3.22-debian-10-r109/10.3/debian-10/Dockerfile)
|
||||
* [`10.2-debian-10`, `10.2.31-debian-10-r102`, `10.2`, `10.2.31` (10.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mariadb/blob/10.2.31-debian-10-r102/10.2/debian-10/Dockerfile)
|
||||
* [`10.2-debian-10`, `10.2.31-debian-10-r103`, `10.2`, `10.2.31` (10.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mariadb/blob/10.2.31-debian-10-r103/10.2/debian-10/Dockerfile)
|
||||
* [`10.1-debian-10`, `10.1.44-debian-10-r103`, `10.1`, `10.1.44` (10.1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mariadb/blob/10.1.44-debian-10-r103/10.1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/mariadb GitHub repo](https://github.com/bitnami/bitnami-docker-mariadb).
|
||||
|
|
|
|||
Loading…
Reference in New Issue