Dockerfiles for index.docker.io (official Perl Docker image)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
5.008.009-main,threaded
5.008.009-main
5.008.009-slim,threaded
5.008.009-slim
5.010.001-main,threaded
5.010.001-main
5.010.001-slim,threaded
5.010.001-slim
5.012.005-main,threaded
5.012.005-main
5.012.005-slim,threaded
5.012.005-slim
5.014.004-main,threaded
5.014.004-main
5.014.004-slim,threaded
5.014.004-slim
5.016.003-main,threaded
5.016.003-main
5.016.003-slim,threaded
5.016.003-slim
5.018.004-main,threaded
5.018.004-main
5.018.004-slim,threaded
5.018.004-slim
5.020.003-main,threaded
5.020.003-main
5.020.003-slim,threaded
5.020.003-slim
5.022.004-main,threaded
5.022.004-main
5.022.004-slim,threaded
5.022.004-slim
5.024.004-main,threaded
5.024.004-main
5.024.004-slim,threaded
5.024.004-slim
5.026.002-main,threaded
5.026.002-main
5.026.002-slim,threaded
5.026.002-slim
5.028.000-main,threaded
5.028.000-main
5.028.000-slim,threaded
5.028.000-slim
.gitignore
.perltidyrc
LICENSE
README.md
config.yml
cpanfile
generate.pl

README.md

docker-perl

This project is the source for the Docker perl repo; for more details, take a look at https://registry.hub.docker.com/_/perl/.

The structure of this repo is to use the full version ID of each Perl version, plus a comma separate list of extensions. Every directory is expected to have at least the bit specification (32bit or 64bit), and at the moment the only other extension is threaded.

The Docker Perl image now builds and runs in architectures other than amd64, such as i386 and arm64v8; see docker-library/official-images for the details.

Getting Started

The individual Dockerfiles are generated via generate.pl, which uses Releases.yaml to populate the individual files. This needs the Devel::PatchPerl and YAML::XS modules, which you can install by doing cpanm --installdeps . in this repository's root directory.

To regenerate the Dockerfiles, just run ./generate.pl. Do note that this might take time as it will download the Perl source tarballs for each version to re-patch with updates from Devel::PatchPerl as needed. Also, it is advised to update Devel::PatchPerl as soon as a new version comes out.

For older versions of Perl, some patches may be necessary to build properly on a current base OS. In those cases, perl -V will show the locally applied patches. These changes should be limited to Configure rather than to code itself, and will be a cherry pick or back port of a patch from the mainline perl branch whenever possible.