Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker
magento
php-magento
Commits
d05ea1b5
Commit
d05ea1b5
authored
Dec 28, 2018
by
Manuel Christlieb
Browse files
add configuration for mailcatcher
parent
b098701f
Pipeline
#14407
failed with stage
in 43 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
5.6/Dockerfile
View file @
d05ea1b5
...
...
@@ -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
\n
UseTLS=NO
\n
FromLineOverride=YES"
>
/etc/ssmtp/ssmtp.conf
&&
\
echo
"sendmail_path = /usr/sbin/ssmtp -t"
>
/usr/local/etc/php/conf.d/sendmail.ini
...
...
7.1/Dockerfile
View file @
d05ea1b5
...
...
@@ -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
\n
UseTLS=NO
\n
FromLineOverride=YES"
>
/etc/ssmtp/ssmtp.conf
&&
\
echo
"sendmail_path = /usr/sbin/ssmtp -t"
>
/usr/local/etc/php/conf.d/sendmail.ini
...
...
7.2/Dockerfile
View file @
d05ea1b5
...
...
@@ -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
\n
UseTLS=NO
\n
FromLineOverride=YES"
>
/etc/ssmtp/ssmtp.conf
&&
\
echo
"sendmail_path = /usr/sbin/ssmtp -t"
>
/usr/local/etc/php/conf.d/sendmail.ini
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment