Merge pull request #167 from infosiftr/fix-cpanm-backpan-ssl

Fix downloading older Mojolicious version
This commit is contained in:
yosifkit
2015-02-23 13:04:40 -08:00
+2 -1
View File
@@ -1,7 +1,8 @@
FROM perl:5.20
# 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
ENV PERL_CPANM_OPT $PERL_CPANM_OPT --verify