From e39571c23ba5b5c42912cbf191911e29fe5af9b1 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 15 Apr 2026 19:02:37 +0200 Subject: [PATCH] [bitnami/wordpress] Release 6.9.4-debian-12-r3 (#92492) Signed-off-by: Bitnami Bot --- bitnami/wordpress/6/debian-12/Dockerfile | 8 +-- bitnami/wordpress/README.md | 85 +++--------------------- 2 files changed, 12 insertions(+), 81 deletions(-) diff --git a/bitnami/wordpress/6/debian-12/Dockerfile b/bitnami/wordpress/6/debian-12/Dockerfile index 208d17150cda..83c5683429dc 100644 --- a/bitnami/wordpress/6/debian-12/Dockerfile +++ b/bitnami/wordpress/6/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2026-04-08T22:07:13Z" \ + org.opencontainers.image.created="2026-04-15T16:39:00Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/wordpress/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/wordpress" \ @@ -29,11 +29,11 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \ mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ "render-template-1.0.9-164-linux-${OS_ARCH}-debian-12" \ - "php-8.4.19-1-linux-${OS_ARCH}-debian-12" \ + "php-8.4.20-2-linux-${OS_ARCH}-debian-12" \ "apache-2.4.66-1-linux-${OS_ARCH}-debian-12" \ "mysql-client-12.2.2-0-linux-${OS_ARCH}-debian-12" \ "postgresql-lib-18.3.0-0-linux-${OS_ARCH}-debian-12" \ - "libphp-8.4.19-0-linux-${OS_ARCH}-debian-12" \ + "libphp-8.4.20-0-linux-${OS_ARCH}-debian-12" \ "wordpress-6.9.4-0-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ @@ -61,7 +61,7 @@ ENV APACHE_HTTPS_PORT_NUMBER="" \ APACHE_HTTP_PORT_NUMBER="" \ APP_VERSION="6.9.4" \ BITNAMI_APP_NAME="wordpress" \ - IMAGE_REVISION="2" \ + IMAGE_REVISION="3" \ LD_LIBRARY_PATH="/opt/bitnami/postgresql/lib:$LD_LIBRARY_PATH" \ PATH="/opt/bitnami/wp-cli/bin:/opt/bitnami/common/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/apache/bin:/opt/bitnami/mysql/bin:$PATH" diff --git a/bitnami/wordpress/README.md b/bitnami/wordpress/README.md index ec3b3a44ba18..ce798eed2dc5 100644 --- a/bitnami/wordpress/README.md +++ b/bitnami/wordpress/README.md @@ -11,7 +11,13 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema docker run --name wordpress bitnami/wordpress:latest ``` -> **NOTE** This quick setup is only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options in the [Environment Variables](#environment-variables) section for a more secure deployment. +## Using `docker-compose.yml` + +The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/). + +[https://github.com/bitnami/containers/tree/main/bitnami/wordpress/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/wordpress/docker-compose.yml) + +Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/wordpress). ## Why use Bitnami Secure Images? @@ -149,8 +155,6 @@ The following tables list the main variables you can set. | `WP_CLI_DAEMON_USER` | WP-CLI system user. | `daemon` | | `WP_CLI_DAEMON_GROUP` | WP-CLI system group. | `daemon` | -When you start the WordPress image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. - ### Examples The following examples show SMTP configuration and connecting to an existing database. @@ -175,14 +179,6 @@ The Bitnami WordPress container includes the command line interface **wp-cli** t This would be an example of using **wp-cli** to display the help menu: -- Using `docker-compose` command: - -```console -docker-compose exec wordpress wp help -``` - -- Using `docker` command: - ```console docker exec wordpress wp help ``` @@ -191,72 +187,7 @@ Find more information about parameters available in the tool in the [official do ## Logging -The Bitnami WordPress Docker image sends the container logs to `stdout`. To view the logs: - -```console -docker logs wordpress -``` - -Or using Docker Compose: - -```console -docker-compose logs wordpress -``` - -You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. - -## Maintenance - -The following sections describe how to back up, restore, and upgrade the container. - -### Backing up your container - -To backup your data, configuration and logs, follow these simple steps: - -1. Stop the currently running container. - - ```console - docker stop wordpress - ``` - - Or using Docker Compose: - - ```console - docker-compose stop wordpress - ``` - -2. Run the backup command. - - We need to mount two volumes in a container we will use to create the backup: a directory on your host to store the backup in, and the volumes from the container we just stopped so we can access the data. - - ```console - docker run --rm -v /path/to/wordpress-backups:/backups --volumes-from wordpress busybox \ - cp -a /bitnami/wordpress /backups/latest - ``` - -### Restoring a backup - -Restoring a backup is as simple as mounting the backup as volumes in the containers. - -For the MariaDB database container: - -```diff - $ docker run -d --name mariadb \ - ... -- --volume /path/to/mariadb-persistence:/bitnami/mariadb \ -+ --volume /path/to/mariadb-backups/latest:/bitnami/mariadb \ - bitnami/mariadb:latest -``` - -For the WordPress container: - -```diff - $ docker run -d --name wordpress \ - ... -- --volume /path/to/wordpress-persistence:/bitnami/wordpress \ -+ --volume /path/to/wordpress-backups/latest:/bitnami/wordpress \ - bitnami/wordpress:latest -``` +The Bitnami WordPress Docker image sends the container logs to the `stdout`. You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. ## Customize this image