Skip to content

Commit

Permalink
Ensure cpanm downloads modules over HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
dgl committed Jul 2, 2024
1 parent 310b7bc commit 4f4be4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ =head1 DESCRIPTION
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/{{cpanm_dist_name}}* /tmp/* \
&& cpanm --version && cpm --version
ENV PERL_CPANM_OPT "--cpanmetadb https://cpanmetadb.plackperl.org/v1.0/ --mirror https://www.cpan.org"
WORKDIR /usr/src/app
CMD ["perl{{version}}","-de0"]

0 comments on commit 4f4be4b

Please sign in to comment.