Remove duplicate PHP extension

This commit is contained in:
Alex Tselegidis 2023-07-24 09:32:47 +02:00
parent c226d188c9
commit afdc1b839a

View file

@ -3,12 +3,12 @@ FROM php:8.1-fpm
WORKDIR "/var/www/html" WORKDIR "/var/www/html"
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y --no-install-recommends \
git \ git \
zip \ zip \
unzip \ unzip \
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \ && 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 \ && docker-php-ext-enable xdebug \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& curl -sLS https://deb.nodesource.com/setup_18.x | bash - \ && curl -sLS https://deb.nodesource.com/setup_18.x | bash - \