Skip to content

Commit 4b1e4de

Browse files
committed
update php-fpm 8.3.13
1 parent 935fee5 commit 4b1e4de

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

Dockerfile

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
FROM php:8.3.12-fpm-alpine3.20
1+
FROM php:8.3.13-fpm-alpine3.20
2+
3+
LABEL author="Peter Szalatnay <https://github.com/flowman>" \
4+
description="PHP-FPM optimized for !Joomla"
25

36
ARG PHP_EXTS="intl gd mysqli zip opcache bcmath"
47
ARG XDEBUG_VERSION=3.3.2
58

6-
LABEL author="Peter Szalatnay <https://github.com/flowman>" \
7-
description="PHP-FPM optimized for !Joomla"
9+
ENV XDEBUG_PORT=9003
10+
ENV XDEBUG_HOST=host.k3d.internal
811

912
RUN set -eux; \
1013
addgroup -g 101 -S nginx; \
1114
adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx; \
1215
\
13-
# Install basic packages
16+
# Install basic packages
1417
apk add --no-cache \
1518
git \
1619
ghostscript \
@@ -19,12 +22,12 @@ RUN set -eux; \
1922
libzip \
2023
; \
2124
\
22-
# Install temporary build dependencies
25+
# Install temporary build dependencies
2326
apk add --no-cache --virtual .build-deps \
2427
${PHPIZE_DEPS} \
2528
freetype-dev \
2629
icu-dev \
27-
imagemagick-dev \
30+
imagemagick-dev \
2831
libjpeg-turbo-dev \
2932
libpng-dev \
3033
libwebp-dev \
@@ -64,7 +67,7 @@ RUN set -eux; \
6467
sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
6568
grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
6669
docker-php-ext-install /tmp/imagick-3.7.0; \
67-
rm -rf imagick.tgz /tmp/imagick-3.7.0; \
70+
rm -rf imagick.tgz /tmp/imagick-3.7.0; \
6871
docker-php-ext-enable imagick; \
6972
\
7073
# Cleanup:

dockerdir/usr/local/etc/php/conf.d/xdebug.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
xdebug.mode = develop,debug
66
xdebug.idekey = VSCODE
7-
xdebug.client_port = 9003
8-
xdebug.client_host = host.k3d.internal
7+
xdebug.client_port = ${XDEBUG_PORT}
8+
xdebug.client_host = ${XDEBUG_HOST}
99
xdebug.discover_client_host = 1
1010
xdebug.log="/tmp/xdebug.log"
1111
xdebug.cli_color = 1

0 commit comments

Comments
 (0)