mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Cleanup
This commit is contained in:
parent
77df7acbb1
commit
1266017bd9
@ -2,11 +2,11 @@ FROM xtrime/telegram-api-server:latest
|
|||||||
|
|
||||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
RUN echo "opcache.jit=disable" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
|
||||||
|
|
||||||
RUN chmod +x /usr/local/bin/install-php-extensions && \
|
RUN chmod +x /usr/local/bin/install-php-extensions && \
|
||||||
install-php-extensions xdebug && \
|
install-php-extensions xdebug && \
|
||||||
rm /usr/local/bin/install-php-extensions && \
|
rm /usr/local/bin/install-php-extensions
|
||||||
echo "" >> "$PHP_INI_DIR/conf.d/xdebug.ini" && \
|
|
||||||
echo "zend_extension=xdebug.so" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
|
|
||||||
|
|
||||||
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
opcache.jit=disable
|
||||||
|
zend_extension=xdebug.so
|
||||||
|
|
||||||
xdebug.max_nesting_level=512
|
xdebug.max_nesting_level=512
|
||||||
xdebug.mode=debug
|
xdebug.mode=debug
|
||||||
xdebug.start_with_request=yes
|
xdebug.start_with_request=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user