refactor(docker): simplify Dockerfile by removing custom APT source and unnecessary dependencies
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
Types: deb
|
||||
URIs: http://mirror.arvancloud.ir/debian
|
||||
Suites: bookworm
|
||||
Components: main
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
Reference in New Issue
Block a user