From 996a57e83c203f2e2f2c9def9f9b0022f7c794c9 Mon Sep 17 00:00:00 2001 From: bfren Date: Wed, 28 Oct 2026 11:17:27 +0000 Subject: [PATCH 1/4] Bumping version to 7.2.5 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 26a9678..6ab8f27 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.2.4 \ No newline at end of file +7.2.5 \ No newline at end of file From 107fb15579f55c87bdefd951c869cd65834272e1 Mon Sep 17 00:00:00 2001 From: bfren Date: Wed, 28 Oct 2026 11:17:41 +0000 Subject: [PATCH 2/4] Bumping version to 7.3.0 --- VERSION | 2 +- VERSION_MINOR | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6ab8f27..8b23b8d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.2.5 \ No newline at end of file +7.3.0 \ No newline at end of file diff --git a/VERSION_MINOR b/VERSION_MINOR index be4cea5..a88f811 100644 --- a/VERSION_MINOR +++ b/VERSION_MINOR @@ -1 +1 @@ -7.2 \ No newline at end of file +7.3 \ No newline at end of file From 669849457c95bcc1f471a3ab4c12dd69c6d6599d Mon Sep 17 00:00:00 2001 From: bfren Date: Wed, 28 Oct 2026 11:17:59 +0000 Subject: [PATCH 3/4] Using latest base images --- generate-dockerfiles.sh | 2 +- php7.4/Dockerfile | 2 +- php8.0/Dockerfile | 2 +- php8.1/Dockerfile | 2 +- php8.2/Dockerfile | 2 +- php8.3/Dockerfile | 2 +- php8.4/Dockerfile | 2 +- php8.5/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index 808afd3..0fe3e83 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -4,7 +4,7 @@ set -euo pipefail docker pull bfren/alpine -BASE_VERSION="9.0.8" +BASE_VERSION="9.1.0" echo "Base: ${BASE_VERSION}" PHP_VERSIONS="7.4 8.0 8.1 8.2 8.3 8.4 8.5" diff --git a/php7.4/Dockerfile b/php7.4/Dockerfile index ac81950..4049d93 100644 --- a/php7.4/Dockerfile +++ b/php7.4/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php7.4.33-9.0.8 +FROM quay.io/bfren/nginx-php:php7.4.33-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.0/Dockerfile b/php8.0/Dockerfile index 3aadecd..03fdf66 100644 --- a/php8.0/Dockerfile +++ b/php8.0/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.0.30-9.0.8 +FROM quay.io/bfren/nginx-php:php8.0.30-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.1/Dockerfile b/php8.1/Dockerfile index 1567fab..5cd8cfb 100644 --- a/php8.1/Dockerfile +++ b/php8.1/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.1.34-9.0.8 +FROM quay.io/bfren/nginx-php:php8.1.34-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.2/Dockerfile b/php8.2/Dockerfile index 515604a..340e6d2 100644 --- a/php8.2/Dockerfile +++ b/php8.2/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.2.35-9.0.8 +FROM quay.io/bfren/nginx-php:php8.2.35-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.3/Dockerfile b/php8.3/Dockerfile index 349ec55..c567148 100644 --- a/php8.3/Dockerfile +++ b/php8.3/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.3.36-9.0.8 +FROM quay.io/bfren/nginx-php:php8.3.36-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.4/Dockerfile b/php8.4/Dockerfile index 42b97c9..92d1da6 100644 --- a/php8.4/Dockerfile +++ b/php8.4/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.4.27-9.0.8 +FROM quay.io/bfren/nginx-php:php8.4.27-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" diff --git a/php8.5/Dockerfile b/php8.5/Dockerfile index f70c843..d04ba6b 100644 --- a/php8.5/Dockerfile +++ b/php8.5/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/nginx-php:php8.5.12-9.0.8 +FROM quay.io/bfren/nginx-php:php8.5.12-9.1.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" From 0c31dade2977777467d09807fdfdc116b7d6753f Mon Sep 17 00:00:00 2001 From: bfren Date: Wed, 28 Oct 2026 11:18:30 +0000 Subject: [PATCH 4/4] Removing PHP < 8.2 for security reasons --- .github/workflows/dev.yml | 2 +- .github/workflows/publish.yml | 2 +- README.md | 2 +- generate-dockerfiles.sh | 2 +- php7.4/Dockerfile | 47 ----------------------------------- php7.4/PHP_REVISION | 1 - php7.4/overlay/tmp/PHP_EXT | 26 ------------------- php8.0/Dockerfile | 47 ----------------------------------- php8.0/PHP_REVISION | 1 - php8.0/overlay/.empty | 0 php8.1/Dockerfile | 47 ----------------------------------- php8.1/PHP_REVISION | 1 - php8.1/overlay/.empty | 0 13 files changed, 4 insertions(+), 174 deletions(-) delete mode 100644 php7.4/Dockerfile delete mode 100644 php7.4/PHP_REVISION delete mode 100644 php7.4/overlay/tmp/PHP_EXT delete mode 100644 php8.0/Dockerfile delete mode 100644 php8.0/PHP_REVISION delete mode 100644 php8.0/overlay/.empty delete mode 100644 php8.1/Dockerfile delete mode 100644 php8.1/PHP_REVISION delete mode 100644 php8.1/overlay/.empty diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index cad4aed..38000a8 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5" ] + php: [ "8.2", "8.3", "8.4", "8.5" ] runs-on: ubuntu-latest steps: - diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c256fe5..fc3576b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5" ] + php: [ "8.2", "8.3", "8.4", "8.5" ] runs-on: ubuntu-latest steps: - diff --git a/README.md b/README.md index 853f7c5..f6feff1 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Open the site and follow WordPress's installation (site title and admin user). * ⏰ System cron for WordPress's scheduled tasks * 🛡️ Optional NinjaFirewall in full web application firewall mode, and WebAuthn passkey logins * ⚡ Redis object cache settings, for use with a Redis plugin -* 🐘 PHP 7.4 to 8.5 - choose with the image tag +* 🐘 PHP 8.2 to 8.5 - choose with the image tag * 🗜️ Everything from [Nginx + PHP](https://github.com/bfren/docker-nginx-php#features): PHP-FPM, OPcache, compression and logs * 🩺 Health check that loads the login page diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index 0fe3e83..965950f 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -7,7 +7,7 @@ docker pull bfren/alpine BASE_VERSION="9.1.0" echo "Base: ${BASE_VERSION}" -PHP_VERSIONS="7.4 8.0 8.1 8.2 8.3 8.4 8.5" +PHP_VERSIONS="8.2 8.3 8.4 8.5" for V in ${PHP_VERSIONS} ; do echo "WordPress for PHP ${V}" diff --git a/php7.4/Dockerfile b/php7.4/Dockerfile deleted file mode 100644 index 4049d93..0000000 --- a/php7.4/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/bfren/nginx-php:php7.4.33-9.1.0 - -LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" - -ARG BF_IMAGE -ARG BF_PUBLISHING -ARG BF_VERSION - -ARG \ - # set to a valid WordPress version or the installation will fail - # if empty, will use value in /overlay/tmp/WP_VERSION - WP_VERSION= \ - # set to a valid WordPress locale or the installation will fail - # if empty, will use value in /overlay/tmp/WP_LOCALE - WP_LOCALE= - -COPY ./overlay / -COPY ./php7.4/overlay / - -ENV \ - # load the WordPress login page for healthcheck - BF_NGINX_HEALTHCHECK_URI=http://localhost/wp-login.php \ - # options for config file permissions: - # - 0 (make it writeable by web server user) - # - 1 (make it readonly to web server user) - BF_WP_CONFIG_HARDEN=1 \ - # options for config file generation: - # - 0 (generate on container startup if it does not exist) - # - 1 (always regenerate on container startup) - BF_WP_CONFIG_REGENERATE=1 \ - # set to 0 to re-enable WordPress core updates - otherwise they will be handled by the image - BF_WP_DISABLE_MAJOR_UPDATES=1 \ - # whether or not to enable HTTPS behind a proxy server - BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \ - # set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode - # (you will still have to enable it in the WordPress backend) - # NB: this must be 0 until you have installed WordPress or you will not be able to access the site - BF_WP_INSTALL_NINJAFIREWALL=0 \ - # set to 0 if you don't want the WebAuthn plugin to be installed automatically - BF_WP_INSTALL_WEBAUTHN=1 \ - # set to 0 to use WordPress cron instead of system cron (will reduce performance) - # you must remove define('DISABLE_WP_CRON', true); to wp-config.php to make a difference - BF_WP_USE_SYSTEM_CRON=1 - -RUN bf-install - -VOLUME [ "/wp-content" ] diff --git a/php7.4/PHP_REVISION b/php7.4/PHP_REVISION deleted file mode 100644 index 1d66e6b..0000000 --- a/php7.4/PHP_REVISION +++ /dev/null @@ -1 +0,0 @@ -7.4.33 \ No newline at end of file diff --git a/php7.4/overlay/tmp/PHP_EXT b/php7.4/overlay/tmp/PHP_EXT deleted file mode 100644 index 2316386..0000000 --- a/php7.4/overlay/tmp/PHP_EXT +++ /dev/null @@ -1,26 +0,0 @@ --cgi --ctype --curl --dom --exif --fileinfo --ftp --gd --gettext --iconv --imap --intl --json --mbstring --mysqli --mysqlnd --openssl --simplexml --soap --sockets --sodium --xml --xmlrpc --xmlreader --zip -icu-libs \ No newline at end of file diff --git a/php8.0/Dockerfile b/php8.0/Dockerfile deleted file mode 100644 index 03fdf66..0000000 --- a/php8.0/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/bfren/nginx-php:php8.0.30-9.1.0 - -LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" - -ARG BF_IMAGE -ARG BF_PUBLISHING -ARG BF_VERSION - -ARG \ - # set to a valid WordPress version or the installation will fail - # if empty, will use value in /overlay/tmp/WP_VERSION - WP_VERSION= \ - # set to a valid WordPress locale or the installation will fail - # if empty, will use value in /overlay/tmp/WP_LOCALE - WP_LOCALE= - -COPY ./overlay / -COPY ./php8.0/overlay / - -ENV \ - # load the WordPress login page for healthcheck - BF_NGINX_HEALTHCHECK_URI=http://localhost/wp-login.php \ - # options for config file permissions: - # - 0 (make it writeable by web server user) - # - 1 (make it readonly to web server user) - BF_WP_CONFIG_HARDEN=1 \ - # options for config file generation: - # - 0 (generate on container startup if it does not exist) - # - 1 (always regenerate on container startup) - BF_WP_CONFIG_REGENERATE=1 \ - # set to 0 to re-enable WordPress core updates - otherwise they will be handled by the image - BF_WP_DISABLE_MAJOR_UPDATES=1 \ - # whether or not to enable HTTPS behind a proxy server - BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \ - # set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode - # (you will still have to enable it in the WordPress backend) - # NB: this must be 0 until you have installed WordPress or you will not be able to access the site - BF_WP_INSTALL_NINJAFIREWALL=0 \ - # set to 0 if you don't want the WebAuthn plugin to be installed automatically - BF_WP_INSTALL_WEBAUTHN=1 \ - # set to 0 to use WordPress cron instead of system cron (will reduce performance) - # you must remove define('DISABLE_WP_CRON', true); to wp-config.php to make a difference - BF_WP_USE_SYSTEM_CRON=1 - -RUN bf-install - -VOLUME [ "/wp-content" ] diff --git a/php8.0/PHP_REVISION b/php8.0/PHP_REVISION deleted file mode 100644 index 96e24d8..0000000 --- a/php8.0/PHP_REVISION +++ /dev/null @@ -1 +0,0 @@ -8.0.30 \ No newline at end of file diff --git a/php8.0/overlay/.empty b/php8.0/overlay/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/php8.1/Dockerfile b/php8.1/Dockerfile deleted file mode 100644 index 5cd8cfb..0000000 --- a/php8.1/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM quay.io/bfren/nginx-php:php8.1.34-9.1.0 - -LABEL org.opencontainers.image.source="https://github.com/bfren/docker-wordpress" - -ARG BF_IMAGE -ARG BF_PUBLISHING -ARG BF_VERSION - -ARG \ - # set to a valid WordPress version or the installation will fail - # if empty, will use value in /overlay/tmp/WP_VERSION - WP_VERSION= \ - # set to a valid WordPress locale or the installation will fail - # if empty, will use value in /overlay/tmp/WP_LOCALE - WP_LOCALE= - -COPY ./overlay / -COPY ./php8.1/overlay / - -ENV \ - # load the WordPress login page for healthcheck - BF_NGINX_HEALTHCHECK_URI=http://localhost/wp-login.php \ - # options for config file permissions: - # - 0 (make it writeable by web server user) - # - 1 (make it readonly to web server user) - BF_WP_CONFIG_HARDEN=1 \ - # options for config file generation: - # - 0 (generate on container startup if it does not exist) - # - 1 (always regenerate on container startup) - BF_WP_CONFIG_REGENERATE=1 \ - # set to 0 to re-enable WordPress core updates - otherwise they will be handled by the image - BF_WP_DISABLE_MAJOR_UPDATES=1 \ - # whether or not to enable HTTPS behind a proxy server - BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \ - # set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode - # (you will still have to enable it in the WordPress backend) - # NB: this must be 0 until you have installed WordPress or you will not be able to access the site - BF_WP_INSTALL_NINJAFIREWALL=0 \ - # set to 0 if you don't want the WebAuthn plugin to be installed automatically - BF_WP_INSTALL_WEBAUTHN=1 \ - # set to 0 to use WordPress cron instead of system cron (will reduce performance) - # you must remove define('DISABLE_WP_CRON', true); to wp-config.php to make a difference - BF_WP_USE_SYSTEM_CRON=1 - -RUN bf-install - -VOLUME [ "/wp-content" ] diff --git a/php8.1/PHP_REVISION b/php8.1/PHP_REVISION deleted file mode 100644 index e66cace..0000000 --- a/php8.1/PHP_REVISION +++ /dev/null @@ -1 +0,0 @@ -8.1.34 \ No newline at end of file diff --git a/php8.1/overlay/.empty b/php8.1/overlay/.empty deleted file mode 100644 index e69de29..0000000