From b87dc9fde99b5498065f16f138a87d7361bbe165 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 12 Dec 2024 17:38:26 +0000 Subject: [PATCH] [docker] do all the apt installs in one go --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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