refactor(docker): remove unused PHP extensions from Dockerfile to streamline image size
This commit is contained in:
@@ -13,14 +13,9 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update \
|
|||||||
unzip \
|
unzip \
|
||||||
&& install-php-extensions \
|
&& install-php-extensions \
|
||||||
bcmath \
|
bcmath \
|
||||||
dom \
|
|
||||||
intl \
|
intl \
|
||||||
mbstring \
|
|
||||||
opcache \
|
|
||||||
pcntl \
|
pcntl \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
xml \
|
|
||||||
xmlreader \
|
|
||||||
zip \
|
zip \
|
||||||
&& 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 \
|
||||||
&& apt-get purge -y --auto-remove \
|
&& apt-get purge -y --auto-remove \
|
||||||
|
|||||||
Reference in New Issue
Block a user