File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ RUN apt-get -y install libxml2-dev \
45
45
RUN docker-php-ext-install bcmath
46
46
RUN docker-php-ext-install xml
47
47
48
+
49
+ RUN pecl install xdebug; \
50
+ docker-php-ext-enable xdebug; \
51
+ echo "error_reporting = E_ALL" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \
52
+ echo "display_startup_errors = On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \
53
+ echo "display_errors = On" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \
54
+ echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini;
55
+
48
56
# configure apache
49
57
50
58
# Enable apache modules
Original file line number Diff line number Diff line change 2
2
3
3
client = docker .from_env ()
4
4
5
- client .images .build (path = "." ,tag = "ggbr12/php-apache-dev:1.0.1 " )
6
- client .images .push (repository = "ggbr12/php-apache-dev" , tag = "1.0.1 " )
5
+ client .images .build (path = "." ,tag = "ggbr12/php-apache-dev:1.0.2 " )
6
+ client .images .push (repository = "ggbr12/php-apache-dev" , tag = "1.0.2 " )
You can’t perform that action at this time.
0 commit comments