Perl / docker-perl

Dockerfiles for index.docker.io (official Perl Docker image)
https://registry.hub.docker.com/_/perl/
Artistic License 2.0
117 stars 51 forks source link

please provide a latest-dev version #125

Closed rjbs closed 1 year ago

rjbs commented 1 year ago

For automated testing against the latest development version of perl, it would be terrific to have either:

  1. the latest v5.[odd].x development release; these are released on the 20th of every month
  2. a nightly-ish build from the blead branch of perl5.git

Possibly there is some reason this is not easy, I don't know! But thanks for all your work so far.

zakame commented 1 year ago

Hey @rjbs, thanks for the issue! Let's see how we can get this sorted.

Option 1 is probably doable - we can probably watch https://github.com/Perl/perl5/tags for latest dev release and build when that happens. Option 2 however might not be easy for the image builders though.

waterkip commented 1 year ago

Perhaps we can do something with github actions and use a seperate docker hub location? We can perhaps add #60 in there as well. Perhaps call it: docker/perl-devel which includes images with the debug, nightly and development releases?

It would be even cooler if docker hub allows sub projects under the perl namespace and we can push it to the hub via actions.

rjbs commented 1 year ago

Really, just getting the monthly build would be great. In doing that, I'd hope we could get a "latest-blead" label, so I could have my actions track that. My take is:

So if you did weekly, or every 10d? Cool, I'd use it. But the blead releases are bigger.

Thanks so much!

zakame commented 1 year ago

So to start, I'll merge #126 in soon and update https://github.com/docker-library/official-images/blob/master/library/perl to add the latest-blead/devel tag so we can get docker run perl:latest-blead up sooner. 💪 Next up is automating the process so that we'd have monthly PRs here for updating that tag against the newest blead - this can serve as a base for further getting debug/nightlies out on another registry, probably here on GitHub container registry.

rjbs commented 1 year ago

This is really exciting, thanks!

zakame commented 1 year ago

Hi @rjbs! We're running into an issue for naming perl:latest-blead in the Hub, cf https://github.com/docker-library/official-images/actions/runs/3972685927/jobs/6810812068

Would the alternative perl:blead and perl:devel tags work for you instead?

zakame commented 1 year ago

I went ahead and set blead and devel tags for now in docker-library/official-images@b0595a2 (#13928) but let me know if you have other preferences 🙏

rjbs commented 1 year ago

I am definitely not worried too much about the specific names!

zakame commented 1 year ago

perl:devel images are now available and published on the Docker Hub, thanks everyone!

image

perl:stable images (aliased to the current perl:latest release) are also available.

Documentation on https://github.com/docker-library/docs/tree/master/perl and automation work for the next dev release to follow soon.

rjbs commented 1 year ago

Thank you very much!