Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Dockerfile 897B

123456789101112131415161718192021222324252627282930313233343536373839
  1. FROM debian:jessie
  2. MAINTAINER Robin Thoni <robin@rthoni.com>
  3. RUN groupadd -r email --gid=7788 && useradd -r -g email --uid=7788 email
  4. RUN apt-get update &&\
  5. apt-get install -y dovecot-imapd dovecot-pop3d dovecot-sieve dovecot-managesieved dovecot-pgsql dovecot-lmtpd exim4 &&\
  6. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  7. RUN rm -rf /etc/dovecot/*
  8. COPY ./config/ /etc/dovecot/
  9. COPY ./certs/ /etc/ssl/private/
  10. COPY ./exim4/ /etc/exim4/
  11. RUN chown root:Debian-exim /etc/exim4/passwd.client &&\
  12. update-exim4.conf
  13. RUN rm -rf /var/log/* &&\
  14. mkdir -p /var/log/exim4/ &&\
  15. ln -s /dev/stdout /var/log/exim4/mainlog &&\
  16. ln -s /dev/stderr /var/log/exim4/paniclog
  17. COPY ./sieve/ /etc/dovecot/sieve/
  18. COPY ./vars-vars /etc/vars-vars
  19. COPY ./vars-files /etc/vars-files
  20. COPY ./run.sh /run.sh
  21. VOLUME ["/var/email"]
  22. EXPOSE 110 143 993 995 4190
  23. CMD ["/run.sh"]