Skip to content

Commit eb28f7f

Browse files
committed
Restore SMTPHOST sendmail functionality
1 parent f3fdab2 commit eb28f7f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ RUN apt-get update \
5353
&& rm -rf /var/lib/apt/lists/* \
5454
&& apt-get purge -y --auto-remove
5555

56+
# TODO: Figure out why Debian's BusyBox does not include sendmail.
57+
# TODO: Verify integrity of this download.
58+
RUN curl https://www.busybox.net/downloads/binaries/1.26.2-defconfig-multiarch/busybox-x86_64 > /usr/local/bin/busybox \
59+
&& chmod a+x /usr/local/bin/busybox \
60+
&& ln -s /usr/local/bin/busybox /usr/local/bin/sendmail
61+
5662
RUN curl -fL https://getcomposer.org/installer | php -- \
5763
--install-dir=/usr/local/bin \
5864
--filename=composer

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
[Docker Hub](https://hub.docker.com/r/digdep/drupal-base/)
66

7-
This is a base image for running Drupal 8 in development. It does not come with Drupal itself, but it does come with a properly configured NGINX (stable), PHP-FPM (7.1), Composer, Drush, Terminus, dependencies for Cypress, and dependencies for CircleCI 2.0.
7+
This is a base image for running Drupal 8 in development. It does not come with Drupal itself, but it does come with a properly configured NGINX (stable), PHP-FPM (7.1), Composer, Drush, Terminus, BusyBox sendmail (so you can set the `SMTPHOST` env variable to e.g. a MailHog container) dependencies for Cypress, and dependencies for CircleCI 2.0.
88

99
See `docker-compose.example.yml` for how to use.

0 commit comments

Comments
 (0)