Do not build extenstions that are already existing in the docker image

This commit is contained in:
Jan Böhmer 2023-02-05 02:16:30 +01:00
parent 3d54921ab9
commit 156f611611

View file

@ -10,7 +10,7 @@ RUN docker-php-ext-configure gd \
--with-webp \
--with-jpeg \
--with-freetype \
&& docker-php-ext-install -j "$(nproc)" gd pdo_mysql curl intl mbstring bcmath zip xml xsl
&& docker-php-ext-install -j "$(nproc)" gd pdo_mysql intl bcmath zip xsl
# Enable opcache and configure it recommended for symfony (see https://symfony.com/doc/current/performance.html)
RUN docker-php-ext-enable opcache; \