Răsfoiți Sursa

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:
Tianon Gravi 10 ani în urmă
părinte
comite
ef2b48218b
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      Dockerfile

+ 2 - 1
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