8.9.2-debian-10-r9 release

This commit is contained in:
Bitnami Bot 2020-07-20 15:43:53 +00:00
parent b164309556
commit 738808fb85
3 changed files with 18 additions and 9 deletions

View File

@ -20,14 +20,14 @@ RUN apt-get update && apt-get upgrade -y && \
RUN chmod g+rwX /opt/bitnami RUN chmod g+rwX /opt/bitnami
COPY rootfs / COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh
RUN /opt/bitnami/scripts/php/postunpack.sh RUN /opt/bitnami/scripts/php/postunpack.sh
RUN /opt/bitnami/scripts/nginx/postunpack.sh
RUN /opt/bitnami/scripts/nginx-php-fpm/postunpack.sh RUN /opt/bitnami/scripts/nginx-php-fpm/postunpack.sh
RUN /opt/bitnami/scripts/drupal/postunpack.sh RUN /opt/bitnami/scripts/drupal/postunpack.sh
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
ENV ALLOW_EMPTY_PASSWORD="no" \ ENV ALLOW_EMPTY_PASSWORD="no" \
BITNAMI_APP_NAME="drupal-nginx" \ BITNAMI_APP_NAME="drupal-nginx" \
BITNAMI_IMAGE_VERSION="8.9.2-debian-10-r8" \ BITNAMI_IMAGE_VERSION="8.9.2-debian-10-r9" \
DRUPAL_DATABASE_NAME="" \ DRUPAL_DATABASE_NAME="" \
DRUPAL_DATABASE_PASSWORD="" \ DRUPAL_DATABASE_PASSWORD="" \
DRUPAL_DATABASE_USER="" \ DRUPAL_DATABASE_USER="" \

View File

@ -356,9 +356,12 @@ mysql_start_bg() {
######################### #########################
wait_for_mysql() { wait_for_mysql() {
local pid local pid
while ! is_mysql_running; do local -r retries=300
sleep 1 local -r sleep_time=2
done if ! retry_while is_mysql_running "$retries" "$sleep_time"; then
error "MySQL failed to start"
return 1
fi
} }
######################## ########################
@ -374,9 +377,15 @@ wait_for_mysql_access() {
# wait until the server is up and answering queries. # wait until the server is up and answering queries.
local -a args=("mysql" "root") local -a args=("mysql" "root")
is_boolean_yes "${ROOT_AUTH_ENABLED:-false}" && args+=("$(get_master_env_var_value ROOT_PASSWORD)") is_boolean_yes "${ROOT_AUTH_ENABLED:-false}" && args+=("$(get_master_env_var_value ROOT_PASSWORD)")
while ! echo "select 1" | mysql_execute "${args[@]}"; do local -r retries=300
sleep 1 local -r sleep_time=2
done is_mysql_accessible() {
echo "select 1" | mysql_execute "${args[@]}"
}
if ! retry_while is_mysql_accessible "$retries" "$sleep_time"; then
error "Timed out waiting for MySQL to be accessible"
return 1
fi
} }
######################## ########################

View File

@ -41,7 +41,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`9-debian-10`, `9.0.2-debian-10-r9`, `9`, `9.0.2`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal-nginx/blob/9.0.2-debian-10-r9/9/debian-10/Dockerfile) * [`9-debian-10`, `9.0.2-debian-10-r9`, `9`, `9.0.2`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal-nginx/blob/9.0.2-debian-10-r9/9/debian-10/Dockerfile)
* [`8-debian-10`, `8.9.2-debian-10-r8`, `8`, `8.9.2` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal-nginx/blob/8.9.2-debian-10-r8/8/debian-10/Dockerfile) * [`8-debian-10`, `8.9.2-debian-10-r9`, `8`, `8.9.2` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-drupal-nginx/blob/8.9.2-debian-10-r9/8/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/drupal-nginx GitHub repo](https://github.com/bitnami/bitnami-docker-drupal-nginx). Subscribe to project updates by watching the [bitnami/drupal-nginx GitHub repo](https://github.com/bitnami/bitnami-docker-drupal-nginx).