We seem to be using www.cpan.org for getting the Perl tarballs for patching with Devel::PatchPerl, yet in our generated Dockerfiles we are using cpan.metacpan.org instead. Since the former location is listed in www.perl.org as the canonical Perl source location, let's base from that as our single source of truth. This also means we can depend less on finding which PAUSE account has which Perl release, so let's remove that from the Releases.yaml as well. |
||
---|---|---|
5.008.009-64bit | ||
5.008.009-64bit,threaded | ||
5.010.001-64bit | ||
5.010.001-64bit,threaded | ||
5.012.005-64bit | ||
5.012.005-64bit,threaded | ||
5.014.004-64bit | ||
5.014.004-64bit,threaded | ||
5.016.003-64bit | ||
5.016.003-64bit,threaded | ||
5.018.004-64bit | ||
5.018.004-64bit,threaded | ||
5.020.003-64bit | ||
5.020.003-64bit,threaded | ||
5.022.004-64bit | ||
5.022.004-64bit,threaded | ||
5.024.002-64bit | ||
5.024.002-64bit,threaded | ||
5.026.000-64bit | ||
5.026.000-64bit,threaded | ||
.gitignore | ||
generate.pl | ||
LICENSE | ||
README.md | ||
Releases.yaml |
docker-perl
Dockerfiles for Perl5
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.
There are currently no 32bit extensions as Docker does not (yet?) support 32-bit builds.
The 64bit builds specify use64bitall despite this being largely redundant (Configure would properly detect this) to make the desired bit size explicit.
The individual Dockerfiles are generated via 'generate.pl', which uses Releases.yaml to populate the individual files.
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.