From c85c33b269ac10c443cddebac8779018862dd58a Mon Sep 17 00:00:00 2001 From: Marc van der Wal Date: Wed, 10 Jan 2024 11:23:45 +0100 Subject: [PATCH] Dockerfile: also install Mail::SPF in 2nd stage Installing Mail::SPF through the apk command caused Net::DNS to be installed by the apk package manager, instead of cpanm. But this package was missing in the second stage. This caused Zonemaster::Engine to fail to load because Net::DNS was missing. However, the underlying problem really was that Mail::SPF was not installed in the second change. Because Mail::SPF is a runtime dependency for Zonemaster::Engine, we need to ensure that this module is installed in both stages. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 467654874..949d7ca66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,7 @@ RUN apk add --no-cache \ perl-io-socket-inet6 \ perl-list-moreutils \ perl-locale-msgfmt \ + perl-mail-spf \ perl-mailtools \ perl-module-install \ perl-moose \