#tradewind:add php71 node
This commit is contained in:
5
php7.4/docker-php-ext-xdebug.ini
Normal file
5
php7.4/docker-php-ext-xdebug.ini
Normal file
@ -0,0 +1,5 @@
|
||||
zend_extension=xdebug
|
||||
xdebug.mode=debug
|
||||
xdebug.client_host=host.docker.internal
|
||||
xdebug.client_port=9003
|
||||
xdebug.idekey=PHPSTORM
|
@ -1,5 +1,9 @@
|
||||
FROM php:7.4-fpm
|
||||
|
||||
ARG PROJECT_PATH
|
||||
|
||||
WORKDIR ${PROJECT_PATH}
|
||||
|
||||
RUN sed -i "s@http://deb.debian.org@http://mirrors.aliyun.com@g" /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@ -14,6 +18,7 @@ RUN apt-get update && apt-get install -y \
|
||||
libicu-dev \
|
||||
libjpeg62-turbo-dev \
|
||||
&& docker-php-ext-configure intl \
|
||||
&& docker-php-ext-configure pcntl --enable-pcntl \
|
||||
&& docker-php-ext-install -j$(nproc) \
|
||||
bcmath \
|
||||
pdo_mysql \
|
||||
@ -24,14 +29,15 @@ RUN apt-get update && apt-get install -y \
|
||||
sockets \
|
||||
intl \
|
||||
soap \
|
||||
pcntl \
|
||||
&& pecl install \
|
||||
redis \
|
||||
xdebug \
|
||||
mongodb \
|
||||
xdebug-3.1.6 \
|
||||
# mongodb \
|
||||
&& docker-php-ext-enable \
|
||||
redis \
|
||||
xdebug \
|
||||
mongodb \
|
||||
# mongodb \
|
||||
&& apt-get clean \
|
||||
&& apt-get autoclean
|
||||
|
||||
|
1947
php7.4/php.ini
Normal file
1947
php7.4/php.ini
Normal file
File diff suppressed because it is too large
Load Diff
1947
php7.4/php.ini-dev
Normal file
1947
php7.4/php.ini-dev
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user