Skip to content

Commit a3049d2

Browse files
committed
Add support for PHP 8.4
Signed-off-by: Kowalski Dragon (kowalski7cc) <[email protected]>
1 parent 7e1fba3 commit a3049d2

File tree

10 files changed

+31
-22
lines changed

10 files changed

+31
-22
lines changed

31/apache/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ RUN set -ex; \
4646
; \
4747
\
4848
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
49-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
50-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
49+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
50+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
5151
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5252
docker-php-ext-install -j "$(nproc)" \
5353
bcmath \
@@ -57,6 +57,7 @@ RUN set -ex; \
5757
gmp \
5858
intl \
5959
ldap \
60+
opcache \
6061
pcntl \
6162
pdo_mysql \
6263
pdo_pgsql \

31/fpm-alpine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ RUN set -ex; \
4242
postgresql-dev \
4343
; \
4444
\
45-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
46-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
45+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
46+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
4747
docker-php-ext-configure ldap; \
4848
docker-php-ext-install -j "$(nproc)" \
4949
bcmath \
@@ -53,6 +53,7 @@ RUN set -ex; \
5353
gmp \
5454
intl \
5555
ldap \
56+
opcache \
5657
pcntl \
5758
pdo_mysql \
5859
pdo_pgsql \

31/fpm/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ RUN set -ex; \
4646
; \
4747
\
4848
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
49-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
50-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
49+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
50+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
5151
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5252
docker-php-ext-install -j "$(nproc)" \
5353
bcmath \
@@ -57,6 +57,7 @@ RUN set -ex; \
5757
gmp \
5858
intl \
5959
ldap \
60+
opcache \
6061
pcntl \
6162
pdo_mysql \
6263
pdo_pgsql \

32/apache/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
2-
FROM php:8.3-apache-trixie
2+
FROM php:8.4-apache-trixie
33

44
# entrypoint.sh and cron.sh dependencies
55
RUN set -ex; \
@@ -46,8 +46,8 @@ RUN set -ex; \
4646
; \
4747
\
4848
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
49-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
50-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
49+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
50+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
5151
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5252
docker-php-ext-install -j "$(nproc)" \
5353
bcmath \
@@ -57,6 +57,7 @@ RUN set -ex; \
5757
gmp \
5858
intl \
5959
ldap \
60+
opcache \
6061
pcntl \
6162
pdo_mysql \
6263
pdo_pgsql \

32/fpm-alpine/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
2-
FROM php:8.3-fpm-alpine3.23
2+
FROM php:8.4-fpm-alpine3.23
33

44
# entrypoint.sh and cron.sh dependencies
55
RUN set -ex; \
@@ -42,8 +42,8 @@ RUN set -ex; \
4242
postgresql-dev \
4343
; \
4444
\
45-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
46-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
45+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
46+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
4747
docker-php-ext-configure ldap; \
4848
docker-php-ext-install -j "$(nproc)" \
4949
bcmath \
@@ -53,6 +53,7 @@ RUN set -ex; \
5353
gmp \
5454
intl \
5555
ldap \
56+
opcache \
5657
pcntl \
5758
pdo_mysql \
5859
pdo_pgsql \

32/fpm/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
2-
FROM php:8.3-fpm-trixie
2+
FROM php:8.4-fpm-trixie
33

44
# entrypoint.sh and cron.sh dependencies
55
RUN set -ex; \
@@ -46,8 +46,8 @@ RUN set -ex; \
4646
; \
4747
\
4848
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
49-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
50-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
49+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
50+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
5151
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5252
docker-php-ext-install -j "$(nproc)" \
5353
bcmath \
@@ -57,6 +57,7 @@ RUN set -ex; \
5757
gmp \
5858
intl \
5959
ldap \
60+
opcache \
6061
pcntl \
6162
pdo_mysql \
6263
pdo_pgsql \

Dockerfile-alpine.template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUN set -ex; \
4141
postgresql-dev \
4242
; \
4343
\
44-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
45-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
44+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
45+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
4646
docker-php-ext-configure ldap; \
4747
docker-php-ext-install -j "$(nproc)" \
4848
bcmath \
@@ -52,6 +52,7 @@ RUN set -ex; \
5252
gmp \
5353
intl \
5454
ldap \
55+
opcache \
5556
pcntl \
5657
pdo_mysql \
5758
pdo_pgsql \

Dockerfile-debian.template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ RUN set -ex; \
4545
; \
4646
\
4747
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
48-
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
49-
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
48+
docker-php-ext-configure ftp %%FTP_OPTIONS%%; \
49+
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif; \
5050
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5151
docker-php-ext-install -j "$(nproc)" \
5252
bcmath \
@@ -56,6 +56,7 @@ RUN set -ex; \
5656
gmp \
5757
intl \
5858
ldap \
59+
opcache \
5960
pcntl \
6061
pdo_mysql \
6162
pdo_pgsql \

update.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ declare -A debian_version=(
1111

1212
declare -A php_version=(
1313
[default]='8.3'
14+
[32]='8.4'
1415
)
1516

1617
declare -A cmd=(

versions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
"variant": "apache",
1010
"base": "debian",
1111
"baseVersion": "trixie",
12-
"phpVersion": "8.3"
12+
"phpVersion": "8.4"
1313
},
1414
"fpm": {
1515
"variant": "fpm",
1616
"base": "debian",
1717
"baseVersion": "trixie",
18-
"phpVersion": "8.3"
18+
"phpVersion": "8.4"
1919
},
2020
"fpm-alpine": {
2121
"variant": "fpm-alpine",
2222
"base": "alpine",
2323
"baseVersion": "3.23",
24-
"phpVersion": "8.3"
24+
"phpVersion": "8.4"
2525
}
2626
}
2727
},

0 commit comments

Comments
 (0)