New Rspamd image, also fixes #386

master
andryyy 2017-06-22 17:12:13 +02:00
parent 2c3d649f0f
commit 4066f3507c
3 changed files with 9 additions and 3 deletions

View File

@ -18,7 +18,8 @@ RUN apt-get update && apt-get install -y \
&& chown _rspamd:_rspamd /run/rspamd
COPY settings.conf /etc/rspamd/modules.d/settings.conf
COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd
USER _rspamd

View File

@ -0,0 +1,5 @@
#!/bin/bash
chown -R _rspamd:_rspamd /var/lib/rspamd
exec "$@"

View File

@ -77,7 +77,7 @@ services:
- clamd
rspamd-mailcow:
image: mailcow/rspamd:1.0
image: mailcow/rspamd:1.1
build: ./data/Dockerfiles/rspamd
command: >
/bin/bash -c "