Skip to content

Commit

Permalink
ref(Dockerfile): 不要gd了,直接用本来就有的imagemagick实现了图片格式转换
Browse files Browse the repository at this point in the history
  • Loading branch information
zhendery committed Jan 6, 2025
1 parent bed7884 commit 1b595c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ RUN apk update && apk add --no-cache imagemagick imagemagick-dev \
\
&& docker-php-ext-install bcmath \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-enable imagick \
&& docker-php-ext-configure gd --with-webp=/usr/include/webp --with-jpeg=/usr/include --with-freetype=/usr/include/ \
&& docker-php-ext-install gd
&& docker-php-ext-enable imagick

# # 需要sqlserver打开这个
# RUN apk add --no-cache unixodbc-dev \
Expand Down

0 comments on commit 1b595c1

Please sign in to comment.