#tradewind:add php71 node
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user