Skip to content

Commit

Permalink
Add xDebug to the PHP 8.3 image (#128)
Browse files Browse the repository at this point in the history
* Add xDebug to the PHP 8.3 image.

* Update to the latest xDebug for other PHP 8 releases.
  • Loading branch information
desrosj authored Dec 19, 2023
1 parent 01017bd commit 22cf64f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion images/8.0/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN set -ex; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install xdebug-3.2.1; \
pickle install xdebug-3.3.1; \
pickle install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/8.1/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN set -ex; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install xdebug-3.2.1; \
pickle install xdebug-3.3.1; \
pickle install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/8.2/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN set -ex; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install xdebug-3.2.1; \
pickle install xdebug-3.3.1; \
pickle install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
5 changes: 5 additions & 0 deletions images/8.3/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ RUN set -ex; \
\
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
chmod +x /usr/local/bin/pickle; \
\
pickle install xdebug-3.3.1; \
\
curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \
curl --silent --fail --location --retry 3 --output /tmp/installer.sig --url https://composer.github.io/installer.sig; \
php -r " \
Expand Down
8 changes: 4 additions & 4 deletions update.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
'base_name' => 'php:8.0-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.2.1', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.3.1', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -116,7 +116,7 @@
'base_name' => 'php:8.1-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.2.1', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.3.1', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -130,7 +130,7 @@
'base_name' => 'php:8.2-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.2.1', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.3.1', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -144,7 +144,7 @@
'base_name' => 'php:8.3-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array(),
'pecl_extensions' => array( 'xdebug-3.3.1' ),
'composer' => true,
),
'phpunit' => 9,
Expand Down

0 comments on commit 22cf64f

Please sign in to comment.