diff --git a/5.022.000-64bit,threaded/DevelPatchPerl.patch b/5.022.000-64bit,threaded/DevelPatchPerl.patch new file mode 100644 index 0000000..90f3d83 --- /dev/null +++ b/5.022.000-64bit,threaded/DevelPatchPerl.patch @@ -0,0 +1,12 @@ +diff --git a/patchlevel.h b/patchlevel.h +index a0ad78b..1812032 100644 +--- a/patchlevel.h ++++ b/patchlevel.h +@@ -137,6 +137,7 @@ static const char * const local_patches[] = { + ,"uncommitted-changes" + #endif + PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */ ++ ,"Devel::PatchPerl 1.34" + ,NULL + }; + diff --git a/5.022.000-64bit,threaded/Dockerfile b/5.022.000-64bit,threaded/Dockerfile new file mode 100644 index 0000000..539e848 --- /dev/null +++ b/5.022.000-64bit,threaded/Dockerfile @@ -0,0 +1,29 @@ +FROM buildpack-deps +MAINTAINER Peter Martini + +RUN apt-get update \ + && apt-get install -y curl procps \ + && rm -fr /var/lib/apt/lists/* + +RUN mkdir /usr/src/perl +COPY *.patch /usr/src/perl/ +WORKDIR /usr/src/perl + +RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2 -o perl-5.22.0.tar.bz2 \ + && echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \ + && tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \ + && rm perl-5.22.0.tar.bz2 \ + && cat *.patch | patch -p1 \ + && ./Configure -Dusethreads -Duse64bitall -des \ + && make -j$(nproc) \ + && make test_harness \ + && make install \ + && cd /usr/src \ + && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ + && chmod +x cpanm \ + && ./cpanm App::cpanminus \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl + +WORKDIR /root + +CMD ["perl5.22.0","-de0"] diff --git a/5.022.000-64bit/DevelPatchPerl.patch b/5.022.000-64bit/DevelPatchPerl.patch new file mode 100644 index 0000000..90f3d83 --- /dev/null +++ b/5.022.000-64bit/DevelPatchPerl.patch @@ -0,0 +1,12 @@ +diff --git a/patchlevel.h b/patchlevel.h +index a0ad78b..1812032 100644 +--- a/patchlevel.h ++++ b/patchlevel.h +@@ -137,6 +137,7 @@ static const char * const local_patches[] = { + ,"uncommitted-changes" + #endif + PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */ ++ ,"Devel::PatchPerl 1.34" + ,NULL + }; + diff --git a/5.022.000-64bit/Dockerfile b/5.022.000-64bit/Dockerfile new file mode 100644 index 0000000..8b82c45 --- /dev/null +++ b/5.022.000-64bit/Dockerfile @@ -0,0 +1,29 @@ +FROM buildpack-deps +MAINTAINER Peter Martini + +RUN apt-get update \ + && apt-get install -y curl procps \ + && rm -fr /var/lib/apt/lists/* + +RUN mkdir /usr/src/perl +COPY *.patch /usr/src/perl/ +WORKDIR /usr/src/perl + +RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2 -o perl-5.22.0.tar.bz2 \ + && echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \ + && tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \ + && rm perl-5.22.0.tar.bz2 \ + && cat *.patch | patch -p1 \ + && ./Configure -Duse64bitall -des \ + && make -j$(nproc) \ + && make test_harness \ + && make install \ + && cd /usr/src \ + && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ + && chmod +x cpanm \ + && ./cpanm App::cpanminus \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl + +WORKDIR /root + +CMD ["perl5.22.0","-de0"] diff --git a/Releases.yaml b/Releases.yaml index a37fb19..1efe5e0 100644 --- a/Releases.yaml +++ b/Releases.yaml @@ -39,3 +39,8 @@ releases: sha1: 63126c683b4c79c35008a47d56f7beae876c569f pause: SHAY test_parallel: no + + - version: 5.22.0 + sha1: 400338c91c56420d98142cbfcb84d418cae2c98c + pause: RJBS + test_parallel: no