5.7.22-debian-9-r22 release
This commit is contained in:
parent
8ca47cf12e
commit
a33b94b6cd
|
|
@ -13,7 +13,7 @@ RUN mkdir /docker-entrypoint-initdb.d
|
|||
COPY rootfs /
|
||||
ENV ALLOW_EMPTY_PASSWORD="no" \
|
||||
BITNAMI_APP_NAME="mysql" \
|
||||
BITNAMI_IMAGE_VERSION="5.7.22-debian-9-r21" \
|
||||
BITNAMI_IMAGE_VERSION="5.7.22-debian-9-r22" \
|
||||
MYSQL_DATABASE="" \
|
||||
MYSQL_MASTER_HOST="" \
|
||||
MYSQL_MASTER_PORT_NUMBER="" \
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ fi
|
|||
# allow running custom initialization scripts
|
||||
if [[ -n $(find /docker-entrypoint-initdb.d/ -type f -regex ".*\.\(sh\|sql\|sql.gz\)") ]] && [[ ! -f /bitnami/mysql/.user_scripts_initialized ]] ; then
|
||||
echo "==> Loading user files from /docker-entrypoint-initdb.d";
|
||||
if [[ ! -z "$MYSQL_ROOT_PASSWORD" ]]; then
|
||||
if [[ -n "$MYSQL_ROOT_PASSWORD" ]]; then
|
||||
mysql=( mysql -uroot -p$MYSQL_ROOT_PASSWORD -hlocalhost )
|
||||
mysqladmin=( mysqladmin -uroot -p$MYSQL_ROOT_PASSWORD -hlocalhost )
|
||||
else
|
||||
|
|
@ -66,7 +66,7 @@ if [[ -n $(find /docker-entrypoint-initdb.d/ -type f -regex ".*\.\(sh\|sql\|sql.
|
|||
esac
|
||||
done
|
||||
touch /bitnami/mysql/.user_scripts_initialized
|
||||
if ! ${mysqladmin} shutdown || ! wait "$MYSQL_PID"; then
|
||||
if ! "${mysqladmin[@]}" shutdown || ! wait "$MYSQL_PID"; then
|
||||
echo >&2 'MySQL init process failed.'
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ $ docker-compose up -d
|
|||
* [`8.0-ol-7`, `8.0.11-ol-7-r32` (8.0/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.11-ol-7-r32/8.0/ol-7/Dockerfile)
|
||||
* [`8.0-debian-9`, `8.0.11-debian-9-r18`, `8.0`, `8.0.11`, `8.0.11-r18` (8.0/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/8.0.11-debian-9-r18/8.0/Dockerfile)
|
||||
* [`5.7-ol-7`, `5.7.22-ol-7-r33` (5.7/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.22-ol-7-r33/5.7/ol-7/Dockerfile)
|
||||
* [`5.7-debian-9`, `5.7.22-debian-9-r21`, `5.7`, `5.7.22`, `5.7.22-r21`, `latest` (5.7/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.22-debian-9-r21/5.7/Dockerfile)
|
||||
* [`5.7-debian-9`, `5.7.22-debian-9-r22`, `5.7`, `5.7.22`, `5.7.22-r22`, `latest` (5.7/Dockerfile)](https://github.com/bitnami/bitnami-docker-mysql/blob/5.7.22-debian-9-r22/5.7/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/mysql GitHub repo](https://github.com/bitnami/bitnami-docker-mysql).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue