Skip to content

Commit 97be759

Browse files
committed
add jpeg support to gd
1 parent f1421cb commit 97be759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ ENV XDEBUG_REMOTE_PORT=9000
2121
ENV PHP_EXTENSION_WDDX=1
2222
ENV PHP_OPENSSL=1
2323

24-
RUN apt-get update && apt-get install -y --no-install-recommends wget vim supervisor libfreetype6-dev libjpeg62-turbo-dev \
24+
RUN apt-get update && apt-get install -y --no-install-recommends wget vim supervisor libfreetype6-dev libjpeg-dev libjpeg62-turbo-dev \
2525
libmcrypt-dev libpng-dev libssl-dev libaio1 git libcurl4-openssl-dev libxslt-dev \
2626
libldap2-dev libicu-dev libc-client-dev libkrb5-dev libsqlite3-dev libedit-dev \
2727
sudo zlib1g zlib1g-dev libzip4 libzip-dev zip unzip librabbitmq-dev && \
2828
rm -rf /var/lib/apt/lists/*
2929

3030
RUN a2enmod rewrite
3131

32-
RUN docker-php-ext-configure gd \
32+
RUN docker-php-ext-configure gd --with-jpeg \
3333
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
3434
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
3535
&& docker-php-ext-install -j$(nproc) bcmath gd pdo_mysql calendar exif gettext shmop soap sockets intl pcntl xsl ldap imap

0 commit comments

Comments
 (0)