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:
parent
b79a588080
commit
ef2b48218b
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue