Skip to content

Commit 8cc6c2b

Browse files
committed
Added xdebug extension
1 parent a6c3e42 commit 8cc6c2b

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ List of PHP extensions installed:
2626
* bcmath
2727
* pdo
2828
* imagick
29+
* xdebug (2.6.1)
2930

3031
### Architectures available
3132

@@ -57,7 +58,7 @@ Use `jsunier/php-symfony-test:7.1-mysql` or `jsunier/php-symfony-test:7.1-mariad
5758

5859
To build these images, just go into the folder of you choice and run `docker build . -t <your-image-name:your-tag>`.
5960

60-
Example:
61+
Example:
6162
```
6263
# cd php7.1/postgresql
6364
# docker build . -t my-awesome-phpunit-image

php7.1/mysql/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ MAINTAINER Joël Sunier <jsunier@stogon.io>
44

55
RUN apt-get update && apt-get install -yqq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev libxml2-dev libmagickwand-dev libpq-dev && \
66
docker-php-ext-install mbstring pdo pdo_mysql zip iconv opcache bcmath && \
7-
pecl install imagick && \
8-
docker-php-ext-enable imagick && \
7+
pecl install imagick xdebug-2.6.1 && \
8+
docker-php-ext-enable imagick xdebug && \
99
apt-get clean
10-
10+
1111
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

php7.1/postgresql/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ RUN apt-get update && apt-get install -yqq git curl libmcrypt-dev libjpeg-dev li
66
docker-php-ext-install mbstring pdo_pgsql zip iconv opcache bcmath && \
77
docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql && \
88
docker-php-ext-install pdo pdo_pgsql pgsql && \
9-
pecl install imagick && \
10-
docker-php-ext-enable imagick && \
9+
pecl install imagick xdebug-2.6.1 && \
10+
docker-php-ext-enable imagick xdebug && \
1111
apt-get clean
12-
12+
1313
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

php7.2/mysql/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ MAINTAINER Joël Sunier <jsunier@stogon.io>
44

55
RUN apt-get update && apt-get install -yqq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev libxml2-dev libmagickwand-dev libpq-dev && \
66
docker-php-ext-install mbstring pdo pdo_mysql zip iconv opcache bcmath && \
7-
pecl install imagick && \
8-
docker-php-ext-enable imagick && \
7+
pecl install imagick xdebug-2.6.1 && \
8+
docker-php-ext-enable imagick xdebug && \
99
apt-get clean
10-
10+
1111
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

php7.2/postgresql/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ RUN apt-get update && apt-get install -yqq git curl libmcrypt-dev libjpeg-dev li
66
docker-php-ext-install mbstring pdo_pgsql zip iconv opcache bcmath && \
77
docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql && \
88
docker-php-ext-install pdo pdo_pgsql pgsql && \
9-
pecl install imagick && \
10-
docker-php-ext-enable imagick && \
9+
pecl install imagick xdebug-2.6.1 && \
10+
docker-php-ext-enable imagick xdebug && \
1111
apt-get clean
12-
12+
1313
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

0 commit comments

Comments
 (0)