2020-04-29 15:15:49 +00:00
|
|
|
FROM drupal:8.8.5-apache
|
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\
|
|
|
|
host {{ item.subnet_gateway_ip }}\n\
|
|
|
|
port 25\n\
|
|
|
|
from php@{{ item.url }}\n" > /etc/msmtprc
|