From ef2b48218ba00cc8d4879cbbf20983dd4491dc47 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 23 Feb 2015 13:52:23 -0700 Subject: [PATCH] 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. :cry: --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cfd170428..a28845327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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