diff --git a/bitnami/wordpress/5/debian-10/Dockerfile b/bitnami/wordpress/5/debian-10/Dockerfile index f97bc3133ed0..37dcb8e9c211 100644 --- a/bitnami/wordpress/5/debian-10/Dockerfile +++ b/bitnami/wordpress/5/debian-10/Dockerfile @@ -20,6 +20,8 @@ RUN bitnami-pkg install tini-0.18.0-3 --checksum 1e9b72b6636c6a48397a18df2363b44 RUN bitnami-pkg install gosu-1.11.0-3 --checksum c18bb8bcc95aa2494793ed5a506c4d03acc82c8c60ad061d5702e0b4048f0cb1 RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives +RUN ln -sf /dev/stdout /opt/bitnami/apache/logs/access_log && \ + ln -sf /dev/stderr /opt/bitnami/apache/logs/error_log COPY rootfs / ENV ALLOW_EMPTY_PASSWORD="no" \ @@ -27,7 +29,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \ APACHE_HTTPS_PORT_NUMBER="8443" \ APACHE_HTTP_PORT_NUMBER="8080" \ BITNAMI_APP_NAME="wordpress" \ - BITNAMI_IMAGE_VERSION="5.3.2-debian-10-r55" \ + BITNAMI_IMAGE_VERSION="5.3.2-debian-10-r56" \ MARIADB_HOST="mariadb" \ MARIADB_PORT_NUMBER="3306" \ MARIADB_ROOT_PASSWORD="" \ @@ -65,4 +67,4 @@ EXPOSE 8080 8443 USER 1001 ENTRYPOINT [ "/app-entrypoint.sh" ] -CMD [ "nami", "start", "--foreground", "apache" ] +CMD [ "httpd", "-f", "/opt/bitnami/apache/conf/httpd.conf", "-DFOREGROUND" ] diff --git a/bitnami/wordpress/5/debian-10/rootfs/app-entrypoint.sh b/bitnami/wordpress/5/debian-10/rootfs/app-entrypoint.sh index 6f5024f235e5..bd8de19002ed 100755 --- a/bitnami/wordpress/5/debian-10/rootfs/app-entrypoint.sh +++ b/bitnami/wordpress/5/debian-10/rootfs/app-entrypoint.sh @@ -5,7 +5,7 @@ print_welcome_page -if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then +if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "httpd" ]]; then . /apache-init.sh . /wordpress-init.sh nami_initialize apache php mysql-client wordpress diff --git a/bitnami/wordpress/README.md b/bitnami/wordpress/README.md index 25f6d2bea4c5..9f213adc5123 100644 --- a/bitnami/wordpress/README.md +++ b/bitnami/wordpress/README.md @@ -41,7 +41,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/containers/how-to/understand-rolling-tags-containers/). -* [`5-debian-10`, `5.3.2-debian-10-r55`, `5`, `5.3.2`, `latest` (5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wordpress/blob/5.3.2-debian-10-r55/5/debian-10/Dockerfile) +* [`5-debian-10`, `5.3.2-debian-10-r56`, `5`, `5.3.2`, `latest` (5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wordpress/blob/5.3.2-debian-10-r56/5/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/wordpress GitHub repo](https://github.com/bitnami/bitnami-docker-wordpress).