#tradewind:add php71 node

This commit is contained in:
2023-07-19 11:06:25 +08:00
parent 9f308af6b0
commit 804eb5544f
12 changed files with 5977 additions and 12 deletions

View File

@ -0,0 +1,5 @@
zend_extension=xdebug
xdebug.mode=debug
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
xdebug.idekey=PHPSTORM

View File

@ -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

File diff suppressed because it is too large Load Diff

1947
php7.4/php.ini-dev Normal file

File diff suppressed because it is too large Load Diff