1

I'm developing a package using Perl and a lot of dependencies that I manage to install via cpanm. I'd like to distribute the software also as a Docker container.

I'd like to have some hints on which perl/cpanm powered base image to use, as I found several "cpanm" labeled distributions and would like one that is:

  • Very Perl 5 and CPANM friendly
  • Reliable
  • Minimal but not barebone (a simple package manager to install external stuff like "wget" is appreciated)

Possibility to easily choose which Perl version to have is a plus.

Many thanks!

3
  • Is there anything missing from Perl's official image? hub.docker.com/_/perl May 10, 2019 at 12:48
  • I was looking from comments from developers that used it for a while. Not impressed by the base Dockerfile but if you think is a good start I’ll try it more
    – Andrea T.
    May 12, 2019 at 11:48
  • I've generally found the official base images a good place to start, although there's often a lot included which you might not want later on in a production environment where image size really matters (at that point I'd usually create a custom Alpine image with only the required parts). May 14, 2019 at 17:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.