From 0aaecda1017d3870060de18361de9f3a73577b25 Mon Sep 17 00:00:00 2001 From: Arkadiusz Krakowiak Date: Thu, 18 Nov 2021 15:15:48 +0100 Subject: [PATCH] [DockerImages] Fix gd extension --- php/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php/Dockerfile b/php/Dockerfile index 4d3d3c2..77e42b4 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -4,6 +4,8 @@ FROM php:${PHP_BASE_IMAGE_TAG} AS sylius_php RUN apt update RUN apt install -y zlib1g-dev RUN apt install -y libpng-dev +RUN apt install -y libjpeg-dev +RUN apt install -y libfreetype6-dev RUN apt install -y libicu-dev RUN apt install -y zip RUN apt install -y libmemcached-dev @@ -17,6 +19,7 @@ RUN pecl install apcu RUN docker-php-ext-enable apcu --ini-name 10-docker-php-ext-apcu.ini RUN pecl install memcached RUN docker-php-ext-enable memcached +RUN docker-php-ext-configure gd --with-freetype --with-jpeg ENV PHP_DATE_TIMEZONE="Europe/Warsaw" COPY --from=composer /usr/bin/composer /usr/bin/composer WORKDIR /symfony