Commit d05ea1b5 authored by Manuel Christlieb's avatar Manuel Christlieb
Browse files

add configuration for mailcatcher

parent b098701f
Pipeline #14407 failed with stage
in 43 seconds
......@@ -28,7 +28,7 @@ RUN apt-get update && \
docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl calendar && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev
RUN apt-get install ssmtp && \
RUN apt-get install -y ssmtp && \
echo "mailhub=mailcatcher:1025\nUseTLS=NO\nFromLineOverride=YES" > /etc/ssmtp/ssmtp.conf && \
echo "sendmail_path = /usr/sbin/ssmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini
......
......@@ -27,7 +27,7 @@ RUN apt-get update && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev && \
rm -rf /var/lib/apt/lists/*
RUN apt-get install ssmtp && \
RUN apt-get install -y ssmtp && \
echo "mailhub=mailcatcher:1025\nUseTLS=NO\nFromLineOverride=YES" > /etc/ssmtp/ssmtp.conf && \
echo "sendmail_path = /usr/sbin/ssmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini
......
......@@ -29,7 +29,7 @@ RUN apt-get update && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev && \
rm -rf /var/lib/apt/lists/*
RUN apt-get install ssmtp && \
RUN apt-get install -y ssmtp && \
echo "mailhub=mailcatcher:1025\nUseTLS=NO\nFromLineOverride=YES" > /etc/ssmtp/ssmtp.conf && \
echo "sendmail_path = /usr/sbin/ssmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment