You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
578 B
Docker
23 lines
578 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 \
|
|
dovecot-antispam-plugin@testing \
|
|
spamassassin \
|
|
bash \
|
|
&& rm -rf /var/cache/apk/* \
|
|
&& sed -i 's,90:65533,90:12,' /etc/passwd
|
|
|
|
COPY dovecot-pigeonhole-plugin-extdata-39-r0.apk /
|
|
RUN apk add --allow-untrusted --force dovecot-pigeonhole-plugin-extdata-39-r0.apk
|
|
|
|
COPY conf /etc/dovecot
|
|
COPY sieve /var/lib/dovecot
|
|
|
|
COPY start.sh /start.sh
|
|
|
|
CMD ["/start.sh"]
|