From: Vsevolod Stakhov Date: Wed, 22 Oct 2025 15:20:46 +0000 (+0100) Subject: [Fix] Copy all install directories to proper system locations in Dockerfile X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=824b6ebacf327995a26c3217133b03045d82b476;p=thirdparty%2Frspamd.git [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. --- 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 && \