docker-perl
docker-perl copied to clipboard
Implement `:alpine` variant
work-in-progress PR to fix #23
- [x] figure out to build without
setlocale()to work around test failures (mainly due to musl-libc's nascent locales support) - [x] remove build-deps (but retain
make) to significantly reduce image layer size - [ ] try to apply for all Perl versions (maybe via
Dockerfile.template)
I would also like an Alpine variant, but probably the way to go would be to change everything from the ground up, including Releases.yaml and generate.pl
try to apply for all Perl versions (maybe via Dockerfile.template)
Replacing generate.pl with an update.sh to integrate @docker-library-bot would be an other improvement.
Replacing
generate.plwith anupdate.shto integrate @docker-library-bot would be an other improvement.
Thanks, could you elaborate further?
I did a cursory check on update.sh from other official-image repos (namely percona, postgres, and php,) and for now I think these bring in some more complexity than I'd care to maintain; I'd be open for PRs for this however.
Another thing to consider is that generate.pl also calls Devel::PatchPerl if needed, so that should be taken into account for the conversion.
The @docker-library-bot can trigger an update.sh to update Perl and generate Dockerfiles.
Just add it to https://github.com/docker-library/oi-janky-groovy/blob/master/update.sh/vars.groovy and give @docker-library-bot commit access.
Yeah, that's what I gathered on reading the update.sh from other images. Might be useful for Perl RC/BLEAD_POINT images, not so much on stable releases (and we already rebuild those anyway on the Hub side when buildpack-deps gets updated.)
Thanks for bringing this up anyway; I might get around to this soon as I'll be getting more involved with Perl RC builds and perhaps this might provide some additional way for managing/bring these up.
This would still be great!
Is there something this is stalled on? I would love to help if possible