From afdc1b839a3e7a4d3f273386852e73b75167d978 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 24 Jul 2023 09:32:47 +0200 Subject: [PATCH] Remove duplicate PHP extension --- docker/php-fpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/php-fpm/Dockerfile b/docker/php-fpm/Dockerfile index e84e26d7..05fe1e26 100644 --- a/docker/php-fpm/Dockerfile +++ b/docker/php-fpm/Dockerfile @@ -3,12 +3,12 @@ FROM php:8.1-fpm WORKDIR "/var/www/html" RUN apt-get update \ - && apt-get install -y \ + && apt-get install -y --no-install-recommends \ git \ zip \ unzip \ && curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \ - curl gd intl ldap mbstring mysqli odbc pdo pdo_mysql soap sockets xml zip xdebug exif sqlite3 gettext bcmath csv event imap inotify ldap mcrypt redis \ + curl gd intl ldap mbstring mysqli odbc pdo pdo_mysql soap sockets xml zip xdebug exif sqlite3 gettext bcmath csv event imap inotify mcrypt redis \ && docker-php-ext-enable xdebug \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sLS https://deb.nodesource.com/setup_18.x | bash - \