Switch to python and Jinja2 for the dovecot container

This commit is contained in:
kaiyou
2017-09-24 14:42:40 +02:00
parent a11eb4ba35
commit 13b9a9207d
5 changed files with 31 additions and 49 deletions

View File

@@ -3,12 +3,10 @@ FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --no-cache \
dovecot dovecot-sqlite dovecot-pigeonhole-plugin dovecot-pigeonhole-plugin-extdata \
rspamd-client@testing \
bash
rspamd-client@testing python py-jinja2
COPY conf /etc/dovecot
COPY conf /conf
COPY sieve /var/lib/dovecot
COPY start.py /start.py
COPY start.sh /start.sh
CMD ["/start.sh"]
CMD /start.py