2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-06-01 08:55:03 +02:00

Merge pull request #97 from nupplaphil/Fixing-SMTP

Fixing issues
This commit is contained in:
Hypolite Petovan 2020-01-03 12:54:57 -05:00 committed by GitHub
commit 3a93a57b8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 24 additions and 26 deletions

View file

@ -24,7 +24,6 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
mysql-client \
bash \
$PHPIZE_DEPS \
libpng-dev \
libjpeg62-turbo-dev \
libtool \

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -7,7 +7,8 @@ RUN set -ex; \
rsync \
git \
# For mail() support
ssmtp;
ssmtp \
shadow;
# install the PHP extensions we need
# see https://friendi.ca/resources/requirements/

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -24,7 +24,6 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
mysql-client \
bash \
$PHPIZE_DEPS \
libpng-dev \
libjpeg62-turbo-dev \
libtool \

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -24,7 +24,6 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
mysql-client \
bash \
$PHPIZE_DEPS \
libpng-dev \
libjpeg62-turbo-dev \
libtool \

View file

@ -66,4 +66,4 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
fi
fi
/entrypoint.sh "$@"
exec /entrypoint.sh "$@"

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -7,7 +7,8 @@ RUN set -ex; \
rsync \
git \
# For mail() support
ssmtp;
ssmtp \
shadow;
# install the PHP extensions we need
# see https://friendi.ca/resources/requirements/

View file

@ -66,4 +66,4 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
fi
fi
/entrypoint.sh "$@"
exec /entrypoint.sh "$@"

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -24,7 +24,6 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
mysql-client \
bash \
$PHPIZE_DEPS \
libpng-dev \
libjpeg62-turbo-dev \
libtool \

View file

@ -66,4 +66,4 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
fi
fi
/entrypoint.sh "$@"
exec /entrypoint.sh "$@"

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{

View file

@ -6,7 +6,8 @@ RUN set -ex; \
rsync \
git \
# For mail() support
ssmtp;
ssmtp \
shadow;
# install the PHP extensions we need
# see https://friendi.ca/resources/requirements/

View file

@ -23,7 +23,6 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
mysql-client \
bash \
$PHPIZE_DEPS \
libpng-dev \
libjpeg62-turbo-dev \
libtool \

View file

@ -66,4 +66,4 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
fi
fi
/entrypoint.sh "$@"
exec /entrypoint.sh "$@"

View file

@ -23,8 +23,8 @@ setup_ssmtp() {
smtp_from=${SMTP_FROM:-no-reply}
# Setup SSMTP
sed -i "s/:root:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
sed -i "s/:Linux\ User:/:${FRIENDICA_SITENAME}:/g" /etc/passwd
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" root
usermod --comment "$(echo "${FRIENDICA_SITENAME}" | tr -dc '[:alnum:]')" www-data
# add possible mail-senders
{