#tradewind:add mysql8; add wsl support; add readme

This commit is contained in:
wanwenshan
2025-06-09 16:46:27 +08:00
parent 4b5a861360
commit df43e75dff
8 changed files with 137 additions and 13 deletions

View File

@ -1,10 +1,6 @@
FROM php:7.4-fpm
ARG PROJECT_PATH
WORKDIR ${PROJECT_PATH}
RUN sed -i "s@http://deb.debian.org@http://mirrors.tencent.com@g" /etc/apt/sources.list
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 \
git \
@ -17,6 +13,8 @@ RUN apt-get update && apt-get install -y \
libxml2-dev \
libicu-dev \
libjpeg62-turbo-dev \
libssl-dev \
librdkafka-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-configure pcntl --enable-pcntl \
&& docker-php-ext-install -j$(nproc) \
@ -33,11 +31,13 @@ RUN apt-get update && apt-get install -y \
&& pecl install \
redis \
xdebug-3.1.6 \
# mongodb \
mongodb-1.12.0 \
rdkafka-4.1.2 \
&& docker-php-ext-enable \
redis \
xdebug \
# mongodb \
mongodb \
rdkafka \
&& apt-get clean \
&& apt-get autoclean