apache+php container
[dockerfiles.git] / opensmtpd / Dockerfile
blob525d624f884d17ac27409e8d4758245413a10415
1 FROM centos:7
3 MAINTAINER Ricardson 'rwcs' Williams <ricardsonwilliams@gmail.com>
5 RUN yum -y install epel-release
6 RUN yum -y install opensmtpd supervisor ; yum clean all
8 RUN /bin/echo -e 'listen on 0.0.0.0\naccept from any for any relay' > /etc/opensmtpd/smtpd.conf
10 COPY supervisord.ini /etc/supervisord.d/
12 EXPOSE 25
14 CMD ["/usr/bin/supervisord"]