提交 1c0b30f4 authored 作者: testing's avatar testing

fix

上级 18b3894f
from php:7.4-fpm FROM phpswoole/swoole:4.8-php7.4-alpine
run apt-get update && apt-get install -y \
libfreetype6-dev \ RUN set -ex \
libjpeg62-turbo-dev \ && pecl update-channels \
libpng-dev \ && pecl install redis-stable \
&& docker-php-ext-install -j$(nproc) iconv \ && docker-php-ext-enable redis
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ \ No newline at end of file
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-configure pdo_mysql \
&& docker-php-ext-install pdo_mysql \
&& pecl install redis-4.3.0 \
&& pecl install swoole \
&& docker-php-ext-enable redis swoole
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论