[bitnami/mysql] Release 8.0.36-debian-12-r9 (#64029)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-03-22 15:03:35 +01:00
committed by GitHub
parent f5173c667a
commit 9b57da68ff
5 changed files with 32 additions and 11 deletions

View File

@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-02-21T12:41:07Z" \
org.opencontainers.image.created="2024-03-22T13:29:01Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="8.0.36-debian-12-r8" \
org.opencontainers.image.ref.name="8.0.36-debian-12-r9" \
org.opencontainers.image.title="mysql" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="8.0.36"
@@ -26,7 +26,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl gcc-11 libaio1 libcom-err2 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libsasl2-2 libssl3 libstdc++6 libtinfo6 libtirpc3 procps psmisc
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"ini-file-1.4.6-9-linux-${OS_ARCH}-debian-12" \
"ini-file-1.4.6-10-linux-${OS_ARCH}-debian-12" \
"mysql-8.0.36-3-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \

View File

@@ -3,7 +3,7 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.4.6-9"
"version": "1.4.6-10"
},
"mysql": {
"arch": "amd64",

View File

@@ -48,6 +48,7 @@ print_image_welcome_page() {
info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}"
info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}"
info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}"
info "Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit ${BOLD}https://bitnami.com/enterprise${RESET}"
info ""
}

View File

@@ -201,7 +201,7 @@ mysql_exec_initial_dump() {
FILE_LOCATION="$DB_DATA_DIR/dump_all_databases.sql"
mysqldump --verbose --all-databases -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" > $FILE_LOCATION
mysqldump --verbose --all-databases -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" > "$FILE_LOCATION"
info "Finish dump databases"
@@ -209,7 +209,7 @@ mysql_exec_initial_dump() {
mysql -h "$DB_MASTER_HOST" -P "$DB_MASTER_PORT_NUMBER" -u "$DB_MASTER_ROOT_USER" -p"$DB_MASTER_ROOT_PASSWORD" -se 'UNLOCK TABLES;'
info "Start import dump databases"
mysql_execute < $FILE_LOCATION
mysql_execute < "$FILE_LOCATION"
info "Finish import dump databases"
mysql_execute "mysql" <<EOF
@@ -224,7 +224,7 @@ MASTER_CONNECT_RETRY=10;
EOF
info "Remove dump file"
rm -f $FILE_LOCATION
rm -f "$FILE_LOCATION"
info "Finish dump process databases"

View File

@@ -173,12 +173,33 @@ docker-compose up -d
| Name | Description | Default Value |
|---------------------------------|---------------------------------------------------------------------------------------------------------------------------|---------------|
| `ALLOW_EMPTY_PASSWORD` | Allow MySQL access without any password. | `no` |
| `MYSQL_AUTHENTICATION_PLUGIN` | MySQL authentication plugin to configure during the first initialization. | `nil` |
| `MYSQL_ROOT_USER` | MySQL database root user. | `root` |
| `MYSQL_ROOT_PASSWORD` | MySQL database root user password. | `nil` |
| `MYSQL_USER` | MySQL database user to create during the first initialization. | `nil` |
| `MYSQL_PASSWORD` | Password for the MySQL database user to create during the first initialization. | `nil` |
| `MYSQL_DATABASE` | MySQL database to create during the first initialization. | `nil` |
| `MYSQL_MASTER_HOST` | Address for the MySQL master node. | `nil` |
| `MYSQL_MASTER_PORT_NUMBER` | Port number for the MySQL master node. | `3306` |
| `MYSQL_MASTER_ROOT_USER` | MySQL database root user of the master host. | `root` |
| `MYSQL_MASTER_ROOT_PASSWORD` | Password for the MySQL database root user of the the master host. | `nil` |
| `MYSQL_MASTER_DELAY` | MySQL database replication delay. | `0` |
| `MYSQL_REPLICATION_USER` | MySQL replication database user. | `nil` |
| `MYSQL_REPLICATION_PASSWORD` | Password for the MySQL replication database user. | `nil` |
| `MYSQL_PORT_NUMBER` | Port number to use for the MySQL Server service. | `nil` |
| `MYSQL_REPLICATION_MODE` | MySQL replication mode. | `nil` |
| `MYSQL_REPLICATION_SLAVE_DUMP` | Make a dump on master and update slave MySQL database | `false` |
| `MYSQL_EXTRA_FLAGS` | Extra flags to be passed to start the MySQL Server. | `nil` |
| `MYSQL_INIT_SLEEP_TIME` | Sleep time when waiting for MySQL init configuration operations to finish. | `nil` |
| `MYSQL_CHARACTER_SET` | MySQL collation to use. | `nil` |
| `MYSQL_COLLATE` | MySQL collation to use. | `nil` |
| `MYSQL_BIND_ADDRESS` | MySQL bind address. | `nil` |
| `MYSQL_SQL_MODE` | MySQL Server SQL modes to enable. | `nil` |
| `MYSQL_IS_DEDICATED_SERVER` | Whether the MySQL Server will run on a dedicated node. | `nil` |
| `MYSQL_CLIENT_ENABLE_SSL` | Whether to force SSL for connections to the MySQL database. | `no` |
| `MYSQL_CLIENT_SSL_CA_FILE` | Path to CA certificate to use for SSL connections to the MySQL database server. | `nil` |
| `MYSQL_CLIENT_SSL_CERT_FILE` | Path to client public key certificate to use for SSL connections to the MySQL database server. | `nil` |
| `MYSQL_CLIENT_SSL_KEY_FILE` | Path to client private key to use for SSL connections to the MySQL database server. | `nil` |
| `MYSQL_CLIENT_EXTRA_FLAGS` | Whether to force SSL connections with the "mysql" CLI tool. Useful for applications that rely on the CLI instead of APIs. | `no` |
| `MYSQL_STARTUP_WAIT_RETRIES` | Number of retries waiting for the database to be running. | `300` |
| `MYSQL_STARTUP_WAIT_SLEEP_TIME` | Sleep time between retries waiting for the database to be running. | `2` |
@@ -207,7 +228,6 @@ docker-compose up -d
| `MYSQL_DEFAULT_PORT_NUMBER` | Default port number to use for the MySQL Server service. | `3306` |
| `MYSQL_DEFAULT_CHARACTER_SET` | Default MySQL character set. | `utf8mb4` |
| `MYSQL_DEFAULT_BIND_ADDRESS` | Default MySQL bind address. | `0.0.0.0` |
| `MYSQL_DISABLE_SERVICE` | Whether to disable the MySQL service by default. | `no` |
### Initializing a new instance
@@ -671,12 +691,12 @@ docker-compose up mysql
* Backwards compatibility is not guaranteed when data is persisted using docker-compose. You can use the workaround below to overcome it:
```console
docker-compose down
$ docker-compose down
## Change the mount point
sed -i -e 's#mysql_data:/bitnami#mysql_data:/bitnami/mysql/data#g' docker-compose.yml
## Pull the latest bitnami/mysql image
docker pull bitnami/mysql:latest
docker-compose up -d
$ docker pull bitnami/mysql:latest
$ docker-compose up -d
```
### 5.7.22-r18 and 8.0.11-r16