Dockerfile 700 B

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