refactor(docker): simplify Dockerfile by removing custom APT source and unnecessary dependencies

This commit is contained in:
2026-06-06 21:32:20 +03:30
parent e2a6d50cb6
commit 8ddce5e792
2 changed files with 1 additions and 11 deletions

View File

@@ -3,12 +3,8 @@ WORKDIR /var/www/html
ENV COMPOSER_ALLOW_SUPERUSER=1
COPY docker/apt/debian.sources /etc/apt/sources.list.d/debian.sources
RUN apt-get -o Acquire::Check-Valid-Until=false update \
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
$PHPIZE_DEPS \
curl \
default-mysql-client \
default-libmysqlclient-dev \
libicu-dev \
@@ -17,7 +13,6 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update \
&& docker-php-ext-install -j"$(nproc)" bcmath intl pcntl pdo_mysql zip \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& apt-get purge -y --auto-remove \
$PHPIZE_DEPS \
default-libmysqlclient-dev \
libicu-dev \
libzip-dev \