瀏覽代碼

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 年之前
父節點
當前提交
ef2b48218b
共有 1 個文件被更改,包括 2 次插入1 次删除
  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