8.0.28-debian-10-r42 release

This commit is contained in:
Bitnami Bot
2022-03-17 23:11:32 +00:00
parent 9521eea604
commit 671fc12e6d
3 changed files with 3 additions and 8 deletions

View File

@@ -16,12 +16,11 @@ RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN mkdir /docker-entrypoint-initdb.d
RUN mkdir /docker-entrypoint-startdb.d
COPY rootfs /
RUN /opt/bitnami/scripts/mysql/postunpack.sh
ENV BITNAMI_APP_NAME="mysql" \
BITNAMI_IMAGE_VERSION="8.0.28-debian-10-r41" \
BITNAMI_IMAGE_VERSION="8.0.28-debian-10-r42" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:/opt/bitnami/mysql/sbin:$PATH"
EXPOSE 3306

View File

@@ -331,7 +331,7 @@ EOF
# None
#########################
mysql_custom_scripts() {
if [[ -n $(find /docker-entrypoint-"$1"db.d/ -type f -regex ".*\.\(sh\|sql\|sql.gz\)") ]] && { [[ ! -f "$DB_DATA_DIR/.user_scripts_initialized" ]] || [[ $1 = start ]]; } then
if [[ -n $(find /docker-entrypoint-"$1"db.d/ -type f -regex ".*\.\(sh\|sql\|sql.gz\)") ]] && { [[ ! -f "$DB_DATA_DIR/.user_scripts_initialized" ]] || [[ $1 == start ]]; } then
info "Loading user's custom files from /docker-entrypoint-$1db.d";
for f in /docker-entrypoint-"$1"db.d/*; do
debug "Executing $f"

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-r41`, `latest` (8.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.28-debian-10-r41/8.0/debian-10/Dockerfile)
* [`8.0`, `8.0-debian-10`, `8.0.28`, `8.0.28-debian-10-r42`, `latest` (8.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.28-debian-10-r42/8.0/debian-10/Dockerfile)
* [`5.7`, `5.7-debian-10`, `5.7.37`, `5.7.37-debian-10-r57` (5.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.37-debian-10-r57/5.7/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/mysql GitHub repo](https://github.com/bitnami/bitnami-docker-mysql).
@@ -189,10 +189,6 @@ Take into account those scripts are treated differently depending on the extensi
> NOTE: If you are importing large databases, it is recommended to import them as `.sql` instead of `.sql.gz`, as the latter one needs to be decompressed on the fly and not allowing for additional optimizations to import large files.
### Running scripts on start
Same semantics as [Initializing a new instance](#initializing-a-new-instance), except these scripts will always run (after `/docker-entrypoint-initdb.d/` scripts, if they exist.) The file directory to place your start scripts is: `/docker-entrypoint-startdb.d`.
### Setting the root password on first run
The root user and password can easily be setup with the Bitnami MySQL Docker image using the following environment variables: