aboutsummaryrefslogtreecommitdiff
path: root/app/email/build/dovecot/Dockerfile
blob: 9b87627d70cff98c02284183141567eff091d375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM amd64/debian:stretch

RUN apt-get update && \
    apt-get install -y \
      dovecot-antispam \
      dovecot-core \
      dovecot-imapd \
      dovecot-ldap \
      dovecot-managesieved \
      dovecot-sieve \
      dovecot-lmtpd && \
    rm -rf /etc/dovecot/*
RUN useradd mailstore
COPY ./conf/* /etc/dovecot/
COPY entrypoint.sh /usr/local/bin/entrypoint

ENTRYPOINT ["/usr/local/bin/entrypoint"]