This commit is contained in:
parent
9db573c499
commit
9f0a053e96
|
|
@ -8,6 +8,10 @@ RUN apt-get update && apt-get install -y \
|
|||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install pdo_mysql zip gd
|
||||
|
||||
# 安装 swoole 扩展(生产环境建议加 --enable-openssl 等参数)
|
||||
RUN pecl install swoole \
|
||||
&& docker-php-ext-enable swoole
|
||||
|
||||
# 安装 Composer
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue