mailcow/data/Dockerfiles/dovecot/Dockerfile

16 lines
397 B
Docker
Raw Normal View History

2016-12-10 03:39:02 +08:00
From ubuntu:xenial
MAINTAINER Andre Peters <andre.peters@servercow.de>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get -y install dovecot-common dovecot-core dovecot-imapd dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql dovecot-pop3d
RUN groupadd -g 5000 vmail
RUN useradd -g vmail -u 5000 vmail -d /var/vmail
EXPOSE 24 10001
CMD ["/usr/sbin/dovecot", "-F"]