File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \
1212 rm -f /etc/apt/sources.list.d/yarn.list /usr/share/keyrings/yarnkey.gpg
1313
1414RUN apt-get install -y --no-install-recommends \
15+ libavif-dev \
1516 libsodium-dev \
1617 libpng-dev \
1718 libjpeg-dev \
@@ -32,8 +33,8 @@ RUN apt-get install -y --no-install-recommends \
3233 && apt-get clean && \
3334 rm -rf /var/lib/apt/lists/*
3435
35- # Configure GD with jpeg and freetype support
36- RUN docker-php-ext-configure gd --with-freetype --with-jpeg
36+ # Configure GD with jpeg, freetype, and avif support.
37+ RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-avif
3738
3839# Install PHP extensions required by Drupal
3940RUN docker-php-ext-install -j$(nproc) \
@@ -42,6 +43,7 @@ RUN docker-php-ext-install -j$(nproc) \
4243 pdo_mysql \
4344 mysqli \
4445 gd \
46+ intl \
4547 opcache \
4648 zip \
4749 mbstring \
@@ -65,6 +67,7 @@ RUN a2enmod rewrite
6567RUN echo "memory_limit = -1" > /usr/local/etc/php/conf.d/cli-memory.ini
6668# Set reasonable limit for Apache
6769RUN echo "memory_limit = 512M" > /usr/local/etc/php/conf.d/apache-memory.ini
70+ RUN echo "post_max_size = 64M" > /usr/local/etc/php/conf.d/post-max-size.ini
6871
6972# Install Playwright OS dependencies.
7073RUN npx playwright install-deps
You can’t perform that action at this time.
0 commit comments