Skip to content

Commit

Permalink
Update to Mailpit Sendmail
Browse files Browse the repository at this point in the history
  • Loading branch information
navarr committed Jan 9, 2025
1 parent 831121c commit 49cd05c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG PHP_VERSION
ARG PHP_VARIANT="fpm-loaders"

FROM golang:alpine AS mhs-builder
RUN go install github.com/mailhog/mhsendmail@latest
RUN go install github.com/axllent/mailpit/sendmail@latest

FROM ${PHP_SOURCE_IMAGE}:${PHP_VERSION}-${PHP_VARIANT}

Expand Down Expand Up @@ -32,7 +32,7 @@ COPY etc/php.d/*.ini /etc/php.d/
COPY etc/php.d/05-additions.ini.template /etc/php.d/

# Install mhsendmail to support routing email through mailhog
COPY --from=mhs-builder /go/bin/mhsendmail /usr/local/bin/mhsendmail
COPY --from=mhs-builder /go/bin/sendmail /usr/local/bin/mhsendmail

# Install awscli to support data backfill workflows using S3 storage; segno for QR code generation
RUN pip3 install awscli segno --no-cache-dir
Expand Down

0 comments on commit 49cd05c

Please sign in to comment.