From 372de06b4363d38d92c503cc96103b6a879c2820 Mon Sep 17 00:00:00 2001 From: Naoaki Ueda Date: Sun, 4 Sep 2022 18:23:17 +0900 Subject: Initial commit --- build/web/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 build/web/Dockerfile (limited to 'build/web/Dockerfile') diff --git a/build/web/Dockerfile b/build/web/Dockerfile new file mode 100644 index 0000000..d4dc1c2 --- /dev/null +++ b/build/web/Dockerfile @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf