8.0.28-debian-10-r21 release

This commit is contained in:
Bitnami Bot
2022-02-24 20:27:53 +00:00
parent da0f2ea04e
commit 166744e86b
4 changed files with 12 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ RUN mkdir /docker-entrypoint-initdb.d
COPY rootfs /
RUN /opt/bitnami/scripts/mysql/postunpack.sh
ENV BITNAMI_APP_NAME="mysql" \
BITNAMI_IMAGE_VERSION="8.0.28-debian-10-r20" \
BITNAMI_IMAGE_VERSION="8.0.28-debian-10-r21" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:/opt/bitnami/mysql/sbin:$PATH"
EXPOSE 3306

View File

@@ -74,8 +74,9 @@ is_dir_empty() {
# boolean
#########################
is_mounted_dir_empty() {
local dir="${1:?missing directory}"
local -r path="${1:?missing directory}"
# Calculate real path in order to avoid issues with symlinks
local -r dir="$(realpath "$path")"
if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then
true
else

View File

@@ -1199,12 +1199,17 @@ mysql_conf_set() {
local -r key="${1:?key missing}"
local -r value="${2:?value missing}"
read -r -a sections <<<"${3:-mysqld}"
local -r file="${4:-"$DB_CONF_FILE"}"
local -r ignore_inline_comments="${4:-no}"
local -r file="${5:-"$DB_CONF_FILE"}"
info "Setting ${key} option"
debug "Setting ${key} to '${value}' in ${DB_FLAVOR} configuration file ${file}"
# Check if the configuration exists in the file
for section in "${sections[@]}"; do
ini-file set --section "$section" --key "$key" --value "$value" "$file"
if is_boolean_yes "$ignore_inline_comments"; then
ini-file set --ignore-inline-comments --section "$section" --key "$key" --value "$value" "$file"
else
ini-file set --section "$section" --key "$key" --value "$value" "$file"
fi
done
}

View File

@@ -50,7 +50,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/).
* [`8.0`, `8.0-debian-10`, `8.0.28`, `8.0.28-debian-10-r20`, `latest` (8.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.28-debian-10-r20/8.0/debian-10/Dockerfile)
* [`8.0`, `8.0-debian-10`, `8.0.28`, `8.0.28-debian-10-r21`, `latest` (8.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.28-debian-10-r21/8.0/debian-10/Dockerfile)
* [`5.7`, `5.7-debian-10`, `5.7.37`, `5.7.37-debian-10-r35` (5.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.37-debian-10-r35/5.7/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/mysql GitHub repo](https://github.com/bitnami/bitnami-docker-mysql).