1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/dovecot/Dockerfile
2016-06-19 21:57:02 +02:00

24 lines
617 B
Docker

FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
dovecot \
dovecot-sqlite \
dovecot-pigeonhole-plugin \
rspamd-client@testing \
bash \
&& rm -rf /var/cache/apk/*
COPY dovecot-pigeonhole-plugin-extdata-39-r0.apk /
RUN apk add --allow-untrusted --force dovecot-pigeonhole-plugin-extdata-39-r0.apk
COPY dovecot-antispam-plugin-51-r0.apk /
RUN apk add --allow-untrusted --force dovecot-antispam-plugin-51-r0.apk
COPY conf /etc/dovecot
COPY sieve /var/lib/dovecot
COPY start.sh /start.sh
CMD ["/start.sh"]