Skip to content

Commit

Permalink
Dockerfile: also install Mail::SPF in 2nd stage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marc-vanderwal committed Jan 10, 2024
1 parent 6d0c913 commit c85c33b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c85c33b

Please sign in to comment.