No description
Find a file
Ryan Voots 636e81c3b0
All checks were successful
ci/woodpecker/push/base-os/1 Pipeline was successful
ci/woodpecker/push/generate-perl Pipeline was successful
ci/woodpecker/push/base-os/2 Pipeline was successful
fix up warnings
2024-12-04 08:29:55 -05:00
.woodpecker fix up warnings 2024-12-04 08:29:55 -05:00
github/workflows
os-base
patches
tmp
.gitignore
.perltidyrc
build.pl support multiple push_repo args now 2023-10-12 11:31:02 -04:00
build.sh
clean_gitea.sh going to try to port this to woodpecker 2024-12-03 16:23:18 -05:00
config.yml
cpanfile
generate.pl Build only 5.20, use a different variable for suffix and also timestamp the os base containers 2023-10-11 11:37:20 -04:00
library.pl
LICENSE
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, followed by the Debian release codename that the resulting Docker image will be based from.

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.