Skip to content

Commit aefcd4f

Browse files
committed
Enable jpeg support in php gd extension
1 parent 78f6f29 commit aefcd4f

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
@@ -11,9 +11,9 @@ RUN mkdir -p /etc/apt/keyrings \
1111

1212
# Install MariaDB and Redis and PHP (incl Apache) and Cypress dependencies
1313
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
14-
&& apt-get install -y libpng-dev libzip-dev libicu-dev \
14+
&& apt-get install -y libpng-dev libzip-dev libicu-dev libjpeg62-turbo-dev \
1515
&& docker-php-ext-install mysqli pdo pdo_mysql intl \
16-
&& docker-php-ext-configure gd \
16+
&& docker-php-ext-configure gd --with-jpeg \
1717
&& docker-php-ext-install gd \
1818
&& pecl install redis zip \
1919
&& docker-php-ext-enable redis zip \

0 commit comments

Comments
 (0)