automation/ansible/roles/build/files/Dockerfile

10 lines
246 B
Docker

FROM wordpress:apache
RUN apt-get update; \
apt-get install -y --no-install-recommends msmtp; \
rm -rf /var/lib/apt/lists/*
RUN echo "sendmail_path = /usr/sbin/msmtp -t " > /usr/local/etc/php/conf.d/sendmail.ini
COPY ./msmtprc /etc/msmtprc