From 824b6ebacf327995a26c3217133b03045d82b476 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 22 Oct 2025 16:20:46 +0100 Subject: [PATCH] [Fix] Copy all install directories to proper system locations in Dockerfile Fixed the issue where config files and other resources were not accessible because we were copying install/* to /usr/* which put configs at /usr/etc instead of /etc. Now explicitly copying: - install/bin -> /usr/bin (binaries) - install/lib -> /usr/lib (libraries) - install/share -> /usr/share (plugins, rules, webui) - install/etc -> /etc (configuration files) This ensures rspamd can find all its files at standard system locations. --- test/integration/Dockerfile.local | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration/Dockerfile.local b/test/integration/Dockerfile.local index 9cf4b2f5ed..0040db75fe 100644 --- a/test/integration/Dockerfile.local +++ b/test/integration/Dockerfile.local @@ -23,7 +23,10 @@ RUN apt-get update && apt-get install -y \ libunwind8 \ && rm -rf /var/lib/apt/lists/* -COPY install /usr +COPY install/bin /usr/bin +COPY install/lib /usr/lib +COPY install/share /usr/share +COPY install/etc /etc RUN mkdir -p /var/lib/rspamd /var/log/rspamd /var/run/rspamd && \ echo "/usr/lib/rspamd" > /etc/ld.so.conf.d/rspamd.conf && \ -- 2.47.3