remove sendmail

This commit is contained in:
Rodolfo Berrios
2025-04-07 10:49:23 -04:00
parent 01b261f165
commit 6ece20bad0

View File

@@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y \
libgd-dev \
libzip-dev \
zip unzip \
sendmail \
rsync \
inotify-tools \
imagemagick libmagickwand-dev --no-install-recommends \
@@ -30,14 +29,6 @@ RUN apt-get update && apt-get install -y \
&& php -m \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN echo "sendmail_path=/usr/sbin/sendmail -t -i" >> /usr/local/etc/php/conf.d/sendmail.ini \
&& sed -i \
-e '/#!\/bin\/sh/a\echo "$(hostname -i)\t$(hostname) $(hostname).localhost" >> /etc/hosts' \
-e '/#!\/bin\/sh/a\service sendmail restart' \
/usr/local/bin/docker-php-entrypoint
RUN rm -rf /var/lib/apt/lists/*
ARG VERSION=4.2
ARG SERVICING=docker