Run the rspamd controller

This commit is contained in:
Pierre Jaury
2016-06-19 21:56:20 +02:00
parent b5e68a41cb
commit 5c5e3d5d2f
2 changed files with 17 additions and 3 deletions

View File

@@ -2,9 +2,12 @@ FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
rspamd@testing rsyslog \
rspamd@testing \
&& rm -rf /var/cache/apk/*
RUN mkdir /run/rspamd
CMD ["rspamd", "-f", "-i"]
COPY conf/ /etc/rspamd
COPY start.sh /start.sh
CMD ["/start.sh"]