Skip to content

Commit 119bd2c

Browse files
authored
Merge pull request #7 from fox91/php_8.4
Add PHP 8.4
2 parents 11ccc44 + 4b9e452 commit 119bd2c

89 files changed

Lines changed: 1637 additions & 56 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on:
66
- '**'
77
# tags:
88
# - 'v*'
9-
pull_request:
9+
# pull_request:
1010

1111
jobs:
1212
build:
1313
name: "PHP: ${{ matrix.php_version }}, OS: ${{ matrix.os_version }}"
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
php_version: ["8.1", "8.2", "8.3"]
17+
php_version: ["8.1", "8.2", "8.3", "8.4"]
1818
os_version: ["alpine3.20", "bookworm"]
1919
steps:
2020
-

8.4/alpine3.20/bcmath/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-bcmath
6+
RUN docker-php-ext-install -j$(nproc) bcmath

8.4/alpine3.20/bz2/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-bz2
6+
# https://github.com/docker-library/php/issues/512#issuecomment-339448094
7+
RUN set -eux; \
8+
persistentDeps=" \
9+
bzip2 \
10+
bzip2-dev \
11+
"; \
12+
apk add --no-cache --virtual .bz2-persistent-deps ${persistentDeps}; \
13+
\
14+
docker-php-ext-install -j$(nproc) bz2

8.4/alpine3.20/gd/Dockerfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-gd
6+
RUN set -eux; \
7+
persistentDeps=" \
8+
freetype \
9+
libjpeg-turbo \
10+
libpng \
11+
libwebp \
12+
libxpm \
13+
"; \
14+
buildDeps=" \
15+
freetype-dev \
16+
libjpeg-turbo-dev \
17+
libpng-dev \
18+
libwebp-dev \
19+
libxpm-dev \
20+
"; \
21+
apk add --no-cache --virtual .gd-persistent-deps ${persistentDeps}; \
22+
apk add --no-cache --virtual .gd-build-deps ${buildDeps}; \
23+
\
24+
docker-php-ext-configure gd \
25+
--with-freetype \
26+
--with-jpeg \
27+
--with-webp \
28+
--with-xpm \
29+
; \
30+
docker-php-ext-install -j$(nproc) gd; \
31+
\
32+
apk del --no-cache --no-network .gd-build-deps

8.4/alpine3.20/gmp/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-gmp
6+
RUN set -eux; \
7+
persistentDeps=" \
8+
gmp \
9+
"; \
10+
buildDeps=" \
11+
gmp-dev \
12+
"; \
13+
apk add --no-cache --virtual .gmp-persistent-deps ${persistentDeps}; \
14+
apk add --no-cache --virtual .gmp-build-deps ${buildDeps}; \
15+
\
16+
docker-php-ext-install -j$(nproc) gmp; \
17+
\
18+
apk del --no-cache --no-network .gmp-build-deps

8.4/alpine3.20/intl/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-intl
6+
RUN set -eux; \
7+
persistentDeps=" \
8+
icu \
9+
"; \
10+
buildDeps=" \
11+
icu-dev \
12+
"; \
13+
apk add --no-cache --virtual .intl-persistent-deps ${persistentDeps}; \
14+
apk add --no-cache --virtual .intl-build-deps ${buildDeps}; \
15+
\
16+
docker-php-ext-install -j$(nproc) intl; \
17+
\
18+
apk del --no-cache --no-network .intl-build-deps

8.4/alpine3.20/ldap/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-ldap
6+
RUN set -eux; \
7+
persistentDeps=" \
8+
libldap \
9+
"; \
10+
buildDeps=" \
11+
openldap-dev \
12+
"; \
13+
apk add --no-cache --virtual .ldap-persistent-deps ${persistentDeps}; \
14+
apk add --no-cache --virtual .ldap-build-deps ${buildDeps}; \
15+
\
16+
docker-php-ext-install -j$(nproc) ldap; \
17+
\
18+
apk del --no-cache --no-network .ldap-build-deps

8.4/alpine3.20/mysqli/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-mysqli
6+
RUN docker-php-ext-install -j$(nproc) mysqli

8.4/alpine3.20/opcache/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-opcache
6+
RUN docker-php-ext-install -j$(nproc) opcache

8.4/alpine3.20/pcntl/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM php:8.4-alpine3.20
2+
3+
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
4+
5+
# PHP ext-pcntl
6+
RUN docker-php-ext-install -j$(nproc) pcntl

0 commit comments

Comments
 (0)