Dockerfile 643 B

12345678910111213141516171819202122232425
  1. FROM perl:5.20
  2. # secure by default ♥ (thanks to sri!)
  3. ENV PERL_CPANM_OPT --verbose --mirror https://cpan.metacpan.org --mirror-only
  4. RUN cpanm Digest::SHA Module::Signature
  5. ENV PERL_CPANM_OPT $PERL_CPANM_OPT --verify
  6. # reinstall cpanm itself, for good measure
  7. RUN cpanm App::cpanminus
  8. RUN cpanm [email protected]
  9. RUN cpanm EV
  10. RUN cpanm IO::Socket::IP
  11. RUN cpanm --notest IO::Socket::SSL
  12. # the tests for IO::Socket::SSL like to hang... :(
  13. RUN cpanm Term::ReadKey
  14. RUN apt-get update && apt-get install -y vim && rm -rf /var/lib/apt/lists/*
  15. COPY . /usr/src/docker-library-docs
  16. WORKDIR /usr/src/docker-library-docs
  17. ENTRYPOINT ["./push.pl"]