docker
One of the best things about Perl going into the future is it is so readily available. Grab the latest linux image for docker and Perl is there ready for use.
Posted May 1, 2021, 4:41 AM UTC
43
One of the best things about Perl going into the future is it is so readily available. Grab the latest linux image for docker and Perl is there ready for use.
Posted May 1, 2021, 4:41 AM UTC
It's nice that Perl is there, but "the latest Linux image" is a bit broad... for Debian-based systems yes, there are a lot of core components relating to apt/dpkg depending on Perl:
but there are many other distributions, Alpine being very popular in Docker for example:
Alpine is a lean distro (even not GNU) to be used as a base for building anything for yourself. Probably not the best example to compare.
But yeah, I agree with the argument that there's no generic «Linux» docker image since there's no generic Linux (which is just a kernel).
True! - which made me mildly curious about other popular distributions, looks like it's not installed by default in CentOS or Arch either:
$ docker run -ti archlinux Unable to find image 'archlinux:latest' locally latest: Pulling from library/archlinux 2ed520655641: Pull complete 71981185e000: Pull complete Digest: sha256:fc2d451eb32bbea6e4eb784108b61cd8c109c9ad9ddfd1253e9984533836c592 Status: Downloaded newer image for archlinux:latest [root@2d36b5745ba1 /]# perl -V bash: perl: command not found
and of course the official Perl image deserves a link at this point:
https://hub.docker.com/_/perl