Trying to enable fuzzy hashes for rspamd

This commit is contained in:
ofthesun9
2018-06-06 18:40:51 +00:00
parent 50f2ea66c8
commit 12294a6e5a
6 changed files with 61 additions and 4 deletions

View File

@@ -1,15 +1,12 @@
FROM alpine:edge
RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy ca-certificates
RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy rspamd-fuzzy ca-certificates
RUN mkdir /run/rspamd
COPY conf/ /conf
COPY start.py /start.py
# Temporary fix to remove references to rspamd-fuzzy for now
RUN sed -i '/fuzzy/,$d' /etc/rspamd/rspamd.conf
EXPOSE 11332/tcp 11334/tcp
CMD /start.py