From b3137f7d37f6e7b4a10b3ba8a8ba3f1c6f83ddb0 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 15 May 2026 22:05:26 +0800 Subject: [PATCH] fix(docker): explicitly install Mail::DKIM on arm64 builds On arm64, cpanm does not automatically resolve Mail::DKIM as a transitive dependency of Mail::Milter::Authentication, causing the build to fail. Install it explicitly before Mail::Milter::Authentication. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4568784..cdd15ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,6 +75,7 @@ RUN echo "@edge https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/ap ln -s /usr/bin/ld /bin/ld RUN cpanm --notest Mail::SPF && \ + cpanm --notest Mail::DKIM && \ cpanm --notest Mail::Milter::Authentication RUN wget https://download.savannah.nongnu.org/releases/spamass-milt/spamass-milter-0.4.0.tar.gz && \