Commit 4b1e4de 1 parent 935fee5 commit 4b1e4de Copy full SHA for 4b1e4de
File tree 2 files changed +12
-9
lines changed
dockerdir/usr/local/etc/php/conf.d
2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 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"
2
5
3
6
ARG PHP_EXTS="intl gd mysqli zip opcache bcmath"
4
7
ARG XDEBUG_VERSION=3.3.2
5
8
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
8
11
9
12
RUN set -eux; \
10
13
addgroup -g 101 -S nginx; \
11
14
adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx; \
12
15
\
13
- # Install basic packages
16
+ # Install basic packages
14
17
apk add --no-cache \
15
18
git \
16
19
ghostscript \
@@ -19,12 +22,12 @@ RUN set -eux; \
19
22
libzip \
20
23
; \
21
24
\
22
- # Install temporary build dependencies
25
+ # Install temporary build dependencies
23
26
apk add --no-cache --virtual .build-deps \
24
27
${PHPIZE_DEPS} \
25
28
freetype-dev \
26
29
icu-dev \
27
- imagemagick-dev \
30
+ imagemagick-dev \
28
31
libjpeg-turbo-dev \
29
32
libpng-dev \
30
33
libwebp-dev \
@@ -64,7 +67,7 @@ RUN set -eux; \
64
67
sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
65
68
grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
66
69
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; \
68
71
docker-php-ext-enable imagick; \
69
72
\
70
73
# Cleanup:
Original file line number Diff line number Diff line change 4
4
5
5
xdebug.mode = develop,debug
6
6
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}
9
9
xdebug.discover_client_host = 1
10
10
xdebug.log =" /tmp/xdebug.log"
11
11
xdebug.cli_color = 1
You can’t perform that action at this time.
0 commit comments