forked from fa/breadcrumb-the-shire
added xdebug
This commit is contained in:
@@ -11,13 +11,14 @@ RUN apt-get update \
|
||||
libjpeg-dev \
|
||||
libpng-dev \
|
||||
libwebp-dev \
|
||||
&& pecl install memcached \
|
||||
&& docker-php-ext-enable memcached \
|
||||
&& pecl install memcached xdebug \
|
||||
&& docker-php-ext-enable memcached xdebug \
|
||||
&& docker-php-ext-configure gd --with-jpeg --with-webp \
|
||||
&& docker-php-ext-install pdo_mysql mysqli gd zip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
COPY docker/php/php.ini /usr/local/etc/php/conf.d/zzz-minty-dev.ini
|
||||
COPY docker/php/xdebug.ini /usr/local/etc/php/conf.d/zzz-xdebug.ini
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
6
docker/php/xdebug.ini
Normal file
6
docker/php/xdebug.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[xdebug]
|
||||
xdebug.mode=debug
|
||||
xdebug.start_with_request=trigger
|
||||
xdebug.client_host=host.docker.internal
|
||||
xdebug.client_port=9003
|
||||
xdebug.idekey=VSCODE
|
||||
Reference in New Issue
Block a user