5.7.33-debian-10-r74 release

This commit is contained in:
Bitnami Bot
2021-04-08 07:44:34 +00:00
parent a6f6fb8928
commit debf9d4da0
6 changed files with 12 additions and 8 deletions

View File

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

View File

@@ -2,7 +2,7 @@ version: '2.1'
services:
mysql:
image: 'docker.io/bitnami/mysql:5.7-debian-10'
image: docker.io/bitnami/mysql:5.7
ports:
- '3306:3306'
volumes:

View File

@@ -106,5 +106,5 @@ indent() {
for ((i = 0; i < num; i++)); do
indent_unit="${indent_unit}${char}"
done
echo "$string" | sed "s/^/${indent_unit}/"
echo "${string//^/${indent_unit}}"
}

View File

@@ -9,7 +9,7 @@
# Functions
########################
# Gets semantic version
# Gets semantic version
# Arguments:
# $1 - version: string to extract major.minor.patch
# $2 - section: 1 to extract major, 2 to extract minor, 3 to extract patch
@@ -38,7 +38,7 @@ get_sematic_version () {
done
local number_regex='^[0-9]+$'
if [[ "$section" =~ $number_regex ]] && (( $section > 0 )) && (( $section <= 3 )); then
if [[ "$section" =~ $number_regex ]] && (( section > 0 )) && (( section <= 3 )); then
echo "${version_sections[$section]}"
return
else

View File

@@ -2,7 +2,7 @@
#
# Bitnami MySQL library
# shellcheck disable=SC1091
# shellcheck disable=SC1090,SC1091
# Load Generic Libraries
. /opt/bitnami/scripts/libfile.sh
@@ -372,6 +372,10 @@ mysql_custom_init_scripts() {
fi
}
#!/bin/bash
#
# Library for mysql common
########################
# Extract mysql version from version string
# Globals:
@@ -386,7 +390,7 @@ mysql_get_version() {
local -a ver_split
ver_string=$("${DB_BIN_DIR}/mysql" "--version")
ver_split=(${ver_string// / })
read -r -a ver_split <<< "$ver_string"
if [[ "$ver_string" = *" Distrib "* ]]; then
echo "${ver_split[4]::-1}"

View File

@@ -45,7 +45,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`8.0`, `8.0-debian-10`, `8.0.23`, `8.0.23-debian-10-r73`, `latest` (8.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.23-debian-10-r73/8.0/debian-10/Dockerfile)
* [`5.7`, `5.7-debian-10`, `5.7.33`, `5.7.33-debian-10-r73` (5.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.33-debian-10-r73/5.7/debian-10/Dockerfile)
* [`5.7`, `5.7-debian-10`, `5.7.33`, `5.7.33-debian-10-r74` (5.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.33-debian-10-r74/5.7/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/mysql GitHub repo](https://github.com/bitnami/bitnami-docker-mysql).