Skip to content

Commit 357b304

Browse files
committed
Fix GD JPEG
1 parent bed95bc commit 357b304

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ RUN set -ex \
1818
postgresql-dev \
1919
jpeg-dev \
2020
libpng-dev \
21+
libjpeg-turbo \
22+
freetype-dev \
2123
imagemagick-dev \
2224
imagemagick && \
25+
docker-php-ext-configure gd --with-freetype --with-jpeg && \
2326
docker-php-ext-install gd ctype pdo pdo_pgsql pcntl exif && \
2427
rm /var/cache/apk/* && rm -rf /tmp/pear
2528

0 commit comments

Comments
 (0)