2020-08-21 09:18:17 +00:00
|
|
|
FROM drupal:{{ drupal.version }}
|
2020-04-28 09:59:52 +00:00
|
|
|
|
|
|
|
RUN apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends msmtp; \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN echo "sendmail_path = /usr/bin/msmtp -t " > /usr/local/etc/php/conf.d/sendmail.ini
|
|
|
|
|
|
|
|
RUN echo "\
|
|
|
|
account default\n\
|
2020-05-06 10:11:46 +00:00
|
|
|
host {{ site.subnet_gateway_ip }}\n\
|
2020-04-28 09:59:52 +00:00
|
|
|
port 25\n\
|
2020-06-02 10:54:54 +00:00
|
|
|
from php@{{ site.url }}\n" > /etc/msmtprc
|