Setup a basic configuration for postfix and dovecot

This commit is contained in:
Pierre Jaury
2016-01-11 22:52:17 +01:00
parent ee0d6391cd
commit 45e5f5f4d2
5 changed files with 16 additions and 5 deletions

View File

@@ -1,11 +1,14 @@
FROM debian:jessie
RUN apt-get update \
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
postfix dovecot-imapd dovecot-sqlite \ # basics
dovecot-sieve dovecot-managesieved \ # filters
dovecot-antispam spamassassin clamav \ # additional utilities
supervisord \ # glue
postfix dovecot-imapd dovecot-sqlite \
dovecot-sieve dovecot-managesieved \
dovecot-antispam spamassassin clamav \
supervisor \
&& apt-get clean
ADD config /etc/
CMD ["/usr/bin/supervisord"]