From: Vsevolod Stakhov Date: Wed, 22 Oct 2025 14:02:43 +0000 (+0100) Subject: [Fix] Allow rspamd to run as root in Docker with --insecure flag X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc0759dd83a4a211d49e792ab3e4a409b287996b;p=thirdparty%2Frspamd.git [Fix] Allow rspamd to run as root in Docker with --insecure flag Rspamd refuses to run as root by default. Since this is a test environment in an isolated Docker container, we add the --insecure flag to allow running as root user. --- diff --git a/test/integration/Dockerfile.local b/test/integration/Dockerfile.local index 69978821d4..9cf4b2f5ed 100644 --- a/test/integration/Dockerfile.local +++ b/test/integration/Dockerfile.local @@ -31,4 +31,4 @@ RUN mkdir -p /var/lib/rspamd /var/log/rspamd /var/run/rspamd && \ EXPOSE 11333 11334 11335 -CMD ["/usr/bin/rspamd", "-f", "-c", "/etc/rspamd/rspamd.conf"] +CMD ["/usr/bin/rspamd", "-f", "-c", "/etc/rspamd/rspamd.conf", "--insecure"]