Switch to env_file and deploy amavis

This commit is contained in:
Pierre Jaury
2016-03-02 21:25:56 +01:00
parent d0006dc624
commit c55c1202d6
11 changed files with 261 additions and 18 deletions

View File

@@ -1,3 +1,18 @@
FROM alpine
RUN apk add --update amavis spamassassin clamav && rm -rf /var/cache/apk/*
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
perl-socket6 \
perl-io-socket-inet6@testing \
amavisd-new \
spamassassin \
rsyslog \
wget \
&& rm -rf /var/cache/apk/*
COPY conf /etc/
COPY rsyslog.conf /etc/rsyslog.conf
COPY start.sh /start.sh
CMD ["/start.sh"]