소스 검색

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