diff --git a/Dockerfile b/Dockerfile index 1a6d3ea07..e11f83a43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,15 @@ COPY --from=mwader/static-ffmpeg:7.1 /ffmpeg /ffprobe /usr/local/bin/ RUN apt update && \ apt upgrade -y && \ apt install -y --no-install-recommends \ - curl rsync imagemagick zip unzip libpq-dev libpng-dev libjpeg-dev libzip-dev libwebp-dev libavif-dev && \ + curl rsync imagemagick zip unzip \ + libpq-dev \ + libzip-dev \ + libpng-dev libjpeg-dev libwebp-dev libavif-dev \ + libmemcached-dev libssl-dev zlib1g-dev && \ rm -rf /var/lib/apt/lists/* RUN pecl install redis-6.1.0 && docker-php-ext-enable redis RUN pecl install apcu-5.1.24 && docker-php-ext-enable apcu -RUN apt-get update && apt-get install -y libmemcached-dev libssl-dev zlib1g-dev && \ - pecl install memcached-3.3.0 && docker-php-ext-enable memcached +RUN pecl install memcached-3.3.0 && docker-php-ext-enable memcached RUN docker-php-ext-configure gd --with-jpeg --with-webp --with-avif && \ docker-php-ext-install gd RUN docker-php-ext-install mysqli pgsql pdo pdo_mysql pdo_pgsql zip pcntl