Commit graph

92 commits

Author SHA1 Message Date
Zak B. Elep
f91962cfe6 Embed cpanm SHA256 checksum for verifying in image build
Install cpanm in the same fashion as Perl: via source dist with SHA256
checksum.  Thanks @tianon for the idea!
2017-08-19 19:25:22 +08:00
Zak B. Elep
a96dbd55d2 Regenerate Dockerfiles to use https://www.cpan.org/src/5.0/
Sync with changes in previous commit.
2017-08-19 19:21:34 +08:00
Zak B. Elep
0a6526583a generate.pl: Use single canonical location for getting Perl tarballs
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.
2017-08-19 19:21:34 +08:00
Zak B. Elep
ccda32e166 Update maintainers in Dockerfiles
`MAINTAINER` Dockerfile directive is now deprecated (see
https://github.com/moby/moby/pull/25466) so update generate.pl to use
`LABEL` instead.  This is also a good time to add myself :)

Regenerate the Dockerfiles as well for sync.
2017-08-13 00:56:45 +08:00
Zak B. Elep
d6371f3fdf generate.pl: Use 3-arg open()
Heed perlcritic/PBP
2017-08-11 17:24:44 +08:00
Zak B. Elep
fcd5c61de4 Remove another RUN layer
We don't need `mkdir` since COPY will already make the destination path
for us.
2017-08-11 17:03:26 +08:00
Zak B. Elep
c7c75e2043 Regenerate Dockerfiles to use tagged buildpack-deps
Thanks generate.pl!
2017-08-11 17:03:26 +08:00
Zak B. Elep
b56dee38fa Fix typo 2017-08-11 17:03:26 +08:00
Zak B. Elep
207b511305 Use buildpack-deps:jessie on Perls < 5.20
This lets us build older Perls on their contemporary build stack.
2017-08-11 17:03:26 +08:00
Zak B. Elep
556e779ba8 Add buildpack_deps option to generate.pl
Enable specifying what `buildpack-deps` tagged image to use on Perl
image builds, defaulting to `stretch` at this time.
2017-08-11 17:03:26 +08:00
Zak B. Elep
cfd34ff245 Remove first RUN layer for installing curl and procps
This is unneeded now that buildpack-deps pulls these in via its own
`buildpack-deps:curl` and `buildpack-deps:scm` base images.
2017-08-11 17:03:26 +08:00
Zak B. Elep
904ec9505b Remove Dockerfiles for older 5.22/5.24 releases
They won't be updated as they're gone in Releases.yaml already.
2017-07-28 18:49:19 +08:00
Zak B. Elep
fb70fb07da Generate Dockerfiles for new 5.22/5.24 releases
Via `generate.pl`
2017-07-28 18:46:51 +08:00
Zak B. Elep
44a1bb608b Update 5.22 and 5.24 images
New point releases for 5.22.4 and 5.24.2
2017-07-28 18:46:08 +08:00
Zak B. Elep
6ec344541d Update Dockerfiles for -Dvendorprefix
Needed for #32 so all Perl images support installing to
`/usr/local/lib/perl5/vendor_perl`.
2017-07-28 17:31:12 +08:00
Zak B. Elep
78ff90a848 Add vendor paths
Let `vendorprefix=/usr/local` so `vendorlib` and `vendorarch` can point
to paths in `/usr/local/lib/perl5/vendor_perl`.  Extend the generator.pl
also so we can add more `Configure` settings if we needed it later.

Fixes #32.
2017-07-28 17:26:06 +08:00
Zak B. Elep
a6c1e7349c Fix doc for extra_flags
We use `extra_flags` in the Releases.yaml, not `extra_args`.
2017-07-28 17:26:06 +08:00
Zak B. Elep
c6f3b059b3 Add 5.26! 🎉 2017-07-28 17:21:16 +08:00
Peter Martini
8b57a74dbc Reran generate for 5.024.001/5.022.003 2017-03-04 09:29:49 -05:00
Peter Martini
5271d3437f New release of 5.22 and 5.24 2017-03-04 09:17:12 -05:00
Peter Martini
ed0eef11d3 Merge pull request #28 from zakame/issues/sha1sum-update
Use SHA256 instead of SHA1
2017-03-04 09:09:05 -05:00
Zak B. Elep
290513889f Use SHA256 instead of SHA1
Fixes Perl/docker-perl#12, thanks @diocles!
2017-02-25 14:58:08 +08:00
Peter Martini
7e333260aa Add 5.24.0 2016-05-17 20:40:56 -05:00
Peter Martini
cf4cc6db40 5.22.1 -> 5.22.2 2016-04-30 17:47:14 -04:00
Peter Martini
30e529b285 Applied -Duseshrplib to all Dockerfiles 2016-04-05 02:11:59 -04:00
Peter Martini
e2fb1bed04 Merge pull request #20 from MartijnVdS/sharedlib
Add -Duseshrplib to build flags to build a shared libperl.so
2016-04-04 14:39:41 -04:00
Martijn van de Streek
6ffd530ae2 Add -Duseshrplib to build flags to build a shared libperl.so
Perl's ./Configure can be asked to build a shared library, libperl.so,
which is required by some modules from CPAN (like Imagemagick), or when
you want to embed the Perl interpreter in your own programs.

However, because there may be a performance penalty, the "old" static
builds have not been removed.

More information can be found in the installation manual at
https://metacpan.org/pod/distribution/perl/INSTALL#Building-a-shared-Perl-library
2016-04-04 08:46:33 +02:00
Peter Martini
b62d0a5fd9 Updated Dockerfiles to clean /tmp 2016-03-25 12:08:13 -04:00
Peter Martini
b58ba2a293 Merge pull request #22 from zakame/issues/remove-tmp-garbage
Remove garbage in /tmp
2016-03-25 12:05:56 -04:00
Zak B. Elep
c3c77badbd Remove garbage in /tmp
Fixes Perl/docker-perl#21
2016-03-25 19:25:38 +08:00
Peter Martini
952b34b915 5.22.1 has been released 2015-12-13 22:27:16 -05:00
Peter Martini
0277d2edfe 5.20.3 has been released 2015-09-17 06:58:57 -04:00
Peter Martini
c9e57e2258 Merge pull request #18 from tianon/5.22
Add Perl 5.22!
2015-06-01 18:43:36 -04:00
Tianon Gravi
2d146ef078 Add Perl 5.22! 🎉 2015-06-01 15:20:19 -07:00
Peter Martini
91453387e2 Cherry pick patch for 5.16 2015-05-03 12:48:01 -04:00
Peter Martini
e5213bc9e0 Rerun of generate.pl 2015-05-03 12:10:48 -04:00
Peter Martini
c8a1cb32eb Two generate changes:
1. Allow multiple patches
2. For the Devel::PatchPerl patches, use git diff instead
   of format-patch.  This removes the ever-changing committer/
   subject/etc details and leaves just the actual changes
2015-05-03 12:09:06 -04:00
Peter Martini
5a9cbc47de Split modified DevelPatchPerl into two patches 2015-05-03 12:07:11 -04:00
Peter Martini
fa0cd9695d Merge branch 'devel-patchperl' 2015-05-02 15:15:00 -04:00
Peter Martini
1a0289e02d Merge pull request #16 from rjx/devel-patchperl
Merged the patches from the "add5.14" branch.
2015-05-02 15:12:33 -04:00
Peter Martini
92aafa1441 Merge pull request #15 from missaugustina/change_generate_pl_version
Bump down generate.pl version to 5.14
2015-05-02 15:08:32 -04:00
rjx
2ff0ab9d21 Merged the patches from the "add5.14" branch. 2015-05-02 15:07:58 -04:00
Augustina Ragwitz
d29429d450 Bump down generate.pl version to 5.14 2015-05-02 14:56:03 -04:00
Peter Martini
8f87d31cb7 Regenerate files 2015-04-15 22:38:18 -04:00
Peter Martini
6694b7f07e Stupid typo 2015-04-15 22:35:43 -04:00
Peter Martini
a72dd588bf Regenerated Dockerfiles/patches 2015-04-15 22:12:36 -04:00
Peter Martini
70ee5ffd36 Add older releases to Releases.yaml 2015-04-15 22:07:35 -04:00
Peter Martini
5150798c3b Use Devel::PatchPerl to generate a standard patch 2015-04-15 22:07:10 -04:00
Peter Martini
a27f453a48 Ignore downloads 2015-04-15 22:06:35 -04:00
Peter Martini
e2ca5ae210 Stop parallel testing til io_unix sorted out 2015-04-12 12:53:30 -04:00