Fix downloading older Mojolicious version

Turns out BackPAN doesn't have SSL, so we can't have fully secure `cpanm` _and_ have old versions of our dependencies. 😢
This commit is contained in:
Tianon Gravi 2015-02-23 13:52:23 -07:00
parent b79a588080
commit ef2b48218b
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
FROM perl:5.20 FROM perl:5.20
# secure by default ♥ (thanks to sri!) # secure by default ♥ (thanks to sri!)
ENV PERL_CPANM_OPT --verbose --mirror https://cpan.metacpan.org --mirror-only ENV PERL_CPANM_OPT --verbose --mirror https://cpan.metacpan.org
# TODO find a way to make --mirror-only / SSL work with backpan too :(
RUN cpanm Digest::SHA Module::Signature RUN cpanm Digest::SHA Module::Signature
ENV PERL_CPANM_OPT $PERL_CPANM_OPT --verify ENV PERL_CPANM_OPT $PERL_CPANM_OPT --verify