Commit graph

103 commits

Author SHA1 Message Date
Zak B. Elep
642ba5d1d3 Generate 5.024.004/5.026.002 2018-04-19 21:28:42 +08:00
Zak B. Elep
e208134d95 Update 5.24 and 5.26
New updates prior to the release of 5.28 this May.
2018-04-19 21:19:17 +08:00
Zak B. Elep
a5c2d6c896 Remove older 5.24/5.26 releases 2017-12-04 12:06:03 +08:00
Zak B. Elep
0bf7c670fe 💄 fix README.md links 2017-12-04 11:43:59 +08:00
Zak B. Elep
8fa44fb367 Add cpanfile 2017-12-04 10:56:56 +08:00
Zak B. Elep
717a26014d Update README.md
Now mention Docker Perl on architectures other than amd64, as well as
provide instructions for regenerating the Dockerfiles.
2017-12-04 10:55:20 +08:00
Zak B. Elep
7f1f1a3b17 Generate 5.024.003/5.026.001 2017-12-04 10:26:35 +08:00
Zak B. Elep
9bf439f4db Update 5.24 and 5.26 2017-12-04 10:24:57 +08:00
Tianon Gravi
cace6e7a2c Adjust "./Configure" for wider architecture support
This adds an appropriate "-Darchname" value for cross-building (arm32v7 builds on an arm64v8 kernel, i386 builds on an amd64 kernel, etc), and conditionally converts "-Duse64bitall" into "-Duse64bitint" (which is what Debian uses when compiling Perl).

See also https://sources.debian.net/src/perl/stretch/debian/config.debian/#L115 and https://sources.debian.net/src/perl/stretch/debian/config.debian/#L130.

> *** You have chosen a maximally 64-bit build,
> *** but your pointers are only 4 bytes wide.
> *** Please rerun Configure without -Duse64bitall.
> *** Since you have quads, you could possibly try with -Duse64bitint.
2017-09-05 01:12:38 +08:00
Zak B. Elep
8044d4ba76 Comment CHECKSUMS location for reference
We might probably update this later when cpanm/Menlo gets bumped.
2017-08-19 19:25:22 +08:00
Zak B. Elep
4ca9bccb3d Regenerate Dockerfiles to fetch cpanm dist with checksum
Now less ugly than copy a static fatpacked cpanm into our repo.
2017-08-19 19:25:22 +08:00
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