mirror of
https://github.com/chevereto/docker.git
synced 2026-05-07 12:07:07 +02:00
remove sendmail
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user