Skip to content

Commit 2503f26

Browse files
authored
Merge pull request #378 from reload/misc
Minor tunings
2 parents 2f87c4c + 5ced542 commit 2503f26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG php="8.2"
1+
ARG php="8.3"
22

33
## Base PHP images
44
FROM php:8.1-fpm-alpine@sha256:e47e95fff703c5d51ef8b9d8c2bbc9a0fa21d7b2612338ed31a9395ba619758b AS php8.1
@@ -17,7 +17,6 @@ FROM php${php}
1717

1818
ARG php=${php}
1919
ARG php_enable_extensions="apcu bcmath calendar ctype curl dom exif fileinfo ftp gd gettext iconv imagick intl json mbstring memcache memcached mysqli mysqlnd opcache pdo pdo_mysql pdo_sqlite phar posix readline redis shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl zip"
20-
ARG php_install_extensions="blackfire xdebug"
2120

2221
HEALTHCHECK --interval=10s --start-period=90s CMD netstat -ltn | grep -c ":9000"
2322

@@ -29,7 +28,8 @@ RUN <<EOT
2928
set -eux
3029
apk add --no-cache bash=~5 git=~2 jq=~1 mariadb-client=~11 msmtp=~1 patch=~2 unzip=~6 graphicsmagick=~1 sudo=~1 tini=~0
3130
install-php-extensions ${php_enable_extensions}
32-
if [ "${php}" != "8.4" ]; then IPE_DONT_ENABLE=1 install-php-extensions ${php_install_extensions}; fi
31+
if [ "${php}" != "8.4" ]; then IPE_DONT_ENABLE=1 install-php-extensions blackfire; fi
32+
IPE_DONT_ENABLE=1 install-php-extensions xdebug
3333
adduser -H -D -S -G wheel -u 501 machost
3434
adduser -H -D -S -G wheel -u 1000 linuxhost
3535
EOT

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ The images come with the following extensions installed and enabled:
110110
- xsl
111111
- zip
112112

113-
In addition, the `xdebug` and `blackfire` extensions are installed but
114-
not enabled in the images (except on PHP 8.4).
113+
In addition, the `blackfire` (except on PHP 8.4) and `xdebug`
114+
extensions are installed but not enabled in the images.
115115

116116
The
117117
[php-extension-installer](https://github.com/mlocati/docker-php-extension-installer)

0 commit comments

Comments
 (0)