docker-perl icon indicating copy to clipboard operation
docker-perl copied to clipboard

Implement `:alpine` variant

Open zakame opened this issue 9 years ago • 7 comments

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)

zakame avatar Apr 22 '16 04:04 zakame

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

JJ avatar Dec 03 '17 18:12 JJ

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.

J0WI avatar Nov 16 '18 10:11 J0WI

Replacing generate.pl with an update.sh to 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.

zakame avatar Nov 16 '18 10:11 zakame

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.

J0WI avatar Nov 18 '18 01:11 J0WI

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.

zakame avatar Nov 18 '18 07:11 zakame

This would still be great!

mohawk2 avatar Sep 14 '20 11:09 mohawk2

Is there something this is stalled on? I would love to help if possible

rabbiveesh avatar Jan 26 '23 05:01 rabbiveesh