mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
更新dockerfile
This commit is contained in:
@@ -30,6 +30,11 @@ RUN apt-get install -y libmagickwand-dev \
|
||||
&& pecl install imagick \
|
||||
&& docker-php-ext-enable imagick
|
||||
|
||||
# 安装gd扩展
|
||||
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install -j$(nproc) gd
|
||||
|
||||
# 安装PHP扩展 redis
|
||||
RUN pecl install redis \
|
||||
&& docker-php-ext-enable redis
|
||||
|
||||
Reference in New Issue
Block a user