Merge branch '7.4' into 8.0

This commit is contained in:
2022-06-21 20:05:47 +02:00
2 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
FROM php:8.0-fpm
ENV WORKDIR=/var/www
ENV STORAGE_DIR=/var/www/storage
ENV LARAVEL_PROCS_NUMBER=2
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
@@ -39,9 +40,10 @@ RUN docker-php-ext-enable rdkafka \
&& rm -rf /php-rdkafka
# Install PHP extensions zip, mbstring, exif, bcmath, intl
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
RUN docker-php-ext-configure gd
RUN docker-php-ext-install zip mbstring exif pcntl bcmath -j$(nproc) gd intl
# Install Redis and enable it
RUN pecl install redis && docker-php-ext-enable redis