Skip to content

Commit 97ac513

Browse files
authored
2026-01-26 Features Release (#62)
- feat: Adds additional PHP & NodeJS versions (#59) - Adds support for PHP 8.4. - Adds proactive handling for opcache default on for PHP 8.5. - Memcache is not currently supported in PHP 8.5 so it will not be supported at this time. - Installs libssl-dev for PHP memcache extension support. - Updates to memcached 3.4.0 - Updates to xdebug 3.5.0, for newer PHP support. - Drops support for PHP 8.0. - Adds support for NodeJS 24. - Updates GA dependencies. - fix(GHA Releases): Fixes missing PHP 8.0 Releases Removal (#61)
2 parents eea378a + f35db92 commit 97ac513

File tree

6 files changed

+24
-21
lines changed

6 files changed

+24
-21
lines changed

.devcontainer/Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG PHP_VERSION=8.3
22

3-
FROM php:${PHP_VERSION}-fpm-bullseye
3+
FROM php:${PHP_VERSION}-fpm-bookworm
44

55
LABEL org.opencontainers.image.url=https://github.com/ndigitals/wp-dev-container/pkgs/container/wp-dev-container
66
LABEL org.opencontainers.image.documentation=https://github.com/ndigitals/wp-dev-container/wiki
@@ -15,29 +15,31 @@ WORKDIR /var/www
1515
# This setup is generally a direct copy from https://github.com/WordPress/wpdev-docker-images
1616
#
1717

18-
ENV COMPOSER_ALLOW_SUPERUSER 1
19-
ENV COMPOSER_HOME /tmp
18+
ENV COMPOSER_ALLOW_SUPERUSER=1
19+
ENV COMPOSER_HOME=/tmp
2020

2121
# install the PHP extensions we need
2222
RUN set -ex; \
2323
\
2424
apt-get update; \
2525
\
26-
apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \
26+
apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libssl-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \
2727
apt-get upgrade openssl -y; \
2828
update-ca-certificates --fresh; \
2929
sed -i 's/^# *\(\(ru_RU\|fr_FR\|de_DE\|es_ES\|ja_JP\).UTF-8\)/\1/' /etc/locale.gen; \
3030
locale-gen; \
3131
\
3232
docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \
3333
\
34-
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
34+
docker-php-ext-install opcache || true; \
35+
\
36+
docker-php-ext-install gd mysqli zip exif intl mbstring xml xsl; \
3537
\
3638
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
3739
chmod +x /usr/local/bin/pickle; \
3840
\
39-
pickle install memcached-3.2.0; \
40-
pickle install xdebug-3.3.0; \
41+
pickle install memcached-3.4.0; \
42+
pickle install xdebug-3.5.0; \
4143
pickle install imagick; \
4244
docker-php-ext-enable imagick; \
4345
\

.devcontainer/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ "$LOCAL_PHP_XDEBUG" = true ]; then
66
docker-php-ext-enable xdebug
77
rm -f /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
88
else
9-
docker-php-ext-enable opcache
9+
docker-php-ext-enable opcache || true
1010
rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
1111
fi
1212

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:recommended"
55
]
66
}

.github/workflows/release-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
PHP_VERSION:
28-
- '8.0'
2928
- '8.1'
3029
- '8.2'
3130
- '8.3'
31+
- '8.4'
3232
NODE_VERSION:
3333
- '16'
3434
- '18'
3535
- '20'
3636
- '22'
37+
- '24'
3738
builder:
3839
- ubuntu-22.04
3940
- self-hosted
@@ -54,7 +55,7 @@ jobs:
5455

5556
steps:
5657
- name: Checkout
57-
uses: actions/checkout@v4
58+
uses: actions/checkout@v6
5859
with:
5960
fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
6061

@@ -73,7 +74,7 @@ jobs:
7374

7475
# https://github.com/marketplace/actions/setup-node-js-environment
7576
- name: Setup Node Environment
76-
uses: actions/setup-node@v4
77+
uses: actions/setup-node@v6
7778
with:
7879
node-version-file: '.nvmrc'
7980

@@ -205,7 +206,7 @@ jobs:
205206

206207
# https://github.com/marketplace/actions/create-release
207208
- name: Create Release
208-
uses: ncipollo/release-action@v1.16.0
209+
uses: ncipollo/release-action@v1.20.0
209210
if: github.event_name == 'push'
210211
with:
211212
name: ${{ steps.release-name.outputs.RELEASE_NAME }}

.github/workflows/test-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
matrix:
2525
PHP_VERSION:
2626
- '8.1'
27-
- '8.3'
27+
- '8.4'
2828
NODE_VERSION:
2929
- '18'
30-
- '22'
30+
- '24'
3131
builder:
3232
- ubuntu-22.04
3333
- self-hosted
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v6
4949
with:
5050
fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
5151

@@ -64,7 +64,7 @@ jobs:
6464

6565
# https://github.com/marketplace/actions/setup-node-js-environment
6666
- name: Setup Node Environment
67-
uses: actions/setup-node@v4
67+
uses: actions/setup-node@v6
6868
with:
6969
node-version-file: '.nvmrc'
7070

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ WordPress Plugin & Theme Dev Container
66

77
## Supported tags
88

9-
- `php-8.3-node-22`, `php-8.3-node-20`, `php-8.3-node-18`, `php-8.3-node-16`
10-
- `php-8.2-node-22`, `php-8.2-node-20`, `php-8.2-node-18`, `php-8.2-node-16`
11-
- `php-8.1-node-22`, `php-8.1-node-20`, `php-8.1-node-18`, `php-8.1-node-16`
12-
- `php-8.0-node-22`, `php-8.0-node-20`, `php-8.0-node-18`, `php-8.0-node-16`
9+
- `php-8.4-node-24`, `php-8.4-node-22`, `php-8.4-node-20`, `php-8.4-node-18`, `php-8.4-node-16`
10+
- `php-8.3-node-24`, `php-8.3-node-22`, `php-8.3-node-20`, `php-8.3-node-18`, `php-8.3-node-16`
11+
- `php-8.2-node-24`, `php-8.2-node-22`, `php-8.2-node-20`, `php-8.2-node-18`, `php-8.2-node-16`
12+
- `php-8.1-node-24`, `php-8.1-node-22`, `php-8.1-node-20`, `php-8.1-node-18`, `php-8.1-node-16`
1313

1414
## Prerequisites
1515

0 commit comments

Comments
 (0)