10 lines
376 B
Cheetah
10 lines
376 B
Cheetah
|
#!/bin/bash
|
||
|
|
||
|
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y msmtp && rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
echo "sendmail_path = /usr/bin/msmtp -t -i" >> /usr/local/etc/php/conf.d/sendmail.ini
|
||
|
|
||
|
# Upstream ENTRYPOINT
|
||
|
# https://github.com/docker-library/wordpress/blob/master/php7.4/apache/Dockerfile#L120
|
||
|
/usr/local/bin/docker-entrypoint.sh apache2-foreground "$@"
|