Skip to content

Commit 4f48773

Browse files
committed
add php 8.4
1 parent f07479e commit 4f48773

File tree

6 files changed

+42
-2
lines changed

6 files changed

+42
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
needs: cancel-previous-runs
2626
strategy:
2727
matrix:
28-
version: [ '7.2', '8.0', '8.1', '8.2', '8.3' ]
28+
version: [ '7.2', '8.0', '8.1', '8.2', '8.3', '8.4' ]
2929

3030
env:
3131
VERSION: "${{ matrix.version }}"

8.4/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:8.4-fpm-alpine
2+
3+
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
4+
5+
RUN set -xe; \
6+
apk --no-cache update && apk --no-cache upgrade \
7+
&& apk add --no-cache git openssh supervisor \
8+
&& install-php-extensions gd mysqli pdo_mysql pgsql pdo_pgsql zip intl opcache exif imagick memcache memcached inotify @composer \
9+
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/cache/apk/*
10+
11+
ADD supervisord.conf /etc/supervisord.conf
12+
ADD crontab /crontab.txt
13+
RUN /usr/bin/crontab /crontab.txt
14+
15+
STOPSIGNAL SIGQUIT
16+
EXPOSE 9000
17+
18+
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]

8.4/crontab

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+

8.4/supervisord.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[supervisord]
2+
nodaemon=true
3+
4+
[program:cron]
5+
command=/usr/sbin/crond -f -l 8
6+
stdout_logfile=/dev/stdout
7+
stderr_logfile=/dev/stderr
8+
stdout_logfile_maxbytes=0
9+
stderr_logfile_maxbytes=0
10+
autorestart=true
11+
12+
[program:php-fpm]
13+
command=docker-php-entrypoint php-fpm

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ piplos/php-alpine
77
- For Develop version: **piplosmedia/php-fpm:**_version_**-dev**
88

99
## PHP-fpm versions:
10-
**7.2**, **8.0**, **8.1**, **8.2**, **8.3**
10+
**7.2**, **8.0**, **8.1**, **8.2**, **8.3**, **8.4**
1111
## Docker hubs:
1212
https://hub.docker.com/r/piplosmedia/php-fpm
1313

dev/8.4/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM piplosmedia/php-fpm:8.4
2+
3+
# Install XDebug.
4+
RUN set -xe; \
5+
apk --no-cache update && apk --no-cache upgrade \
6+
&& install-php-extensions xdebug \
7+
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/cache/apk/*

0 commit comments

Comments
 (0)