blob: d4dc1c2db42f6d8aa91915f9efaeb7d8d81e3e3b (
plain)
1
2
3
4
5
6
7
|
ARG WP_IMAGE_TAG=latest
FROM docker.io/library/wordpress:${WP_IMAGE_TAG}
# Install mhsendmail
RUN curl -sS https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 -L -o /usr/local/bin/mhsendmail \
&& chmod +x /usr/local/bin/mhsendmail \
&& echo 'sendmail_path = "/usr/local/bin/mhsendmail --smtp-addr=127.0.0.1:1025"' > /usr/local/etc/php/conf.d/sendmail.ini
|