Add 5.24.0
This commit is contained in:
parent
cf4cc6db40
commit
7e333260aa
4 changed files with 82 additions and 0 deletions
12
5.024.000-64bit,threaded/DevelPatchPerl.patch
Normal file
12
5.024.000-64bit,threaded/DevelPatchPerl.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/patchlevel.h b/patchlevel.h
|
||||||
|
index bcb921f..a171acb 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.42"
|
||||||
|
,NULL
|
||||||
|
};
|
||||||
|
|
29
5.024.000-64bit,threaded/Dockerfile
Normal file
29
5.024.000-64bit,threaded/Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
FROM buildpack-deps
|
||||||
|
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
|
||||||
|
|
||||||
|
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.24.0.tar.bz2 -o perl-5.24.0.tar.bz2 \
|
||||||
|
&& echo '298fa605138c1a00dab95643130ae0edab369b4d *perl-5.24.0.tar.bz2' | sha1sum -c - \
|
||||||
|
&& tar --strip-components=1 -xjf perl-5.24.0.tar.bz2 -C /usr/src/perl \
|
||||||
|
&& rm perl-5.24.0.tar.bz2 \
|
||||||
|
&& cat *.patch | patch -p1 \
|
||||||
|
&& ./Configure -Dusethreads -Duse64bitall -Duseshrplib -des \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& TEST_JOBS=$(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 /tmp/*
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
CMD ["perl5.24.0","-de0"]
|
12
5.024.000-64bit/DevelPatchPerl.patch
Normal file
12
5.024.000-64bit/DevelPatchPerl.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/patchlevel.h b/patchlevel.h
|
||||||
|
index bcb921f..a171acb 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.42"
|
||||||
|
,NULL
|
||||||
|
};
|
||||||
|
|
29
5.024.000-64bit/Dockerfile
Normal file
29
5.024.000-64bit/Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
FROM buildpack-deps
|
||||||
|
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
|
||||||
|
|
||||||
|
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.24.0.tar.bz2 -o perl-5.24.0.tar.bz2 \
|
||||||
|
&& echo '298fa605138c1a00dab95643130ae0edab369b4d *perl-5.24.0.tar.bz2' | sha1sum -c - \
|
||||||
|
&& tar --strip-components=1 -xjf perl-5.24.0.tar.bz2 -C /usr/src/perl \
|
||||||
|
&& rm perl-5.24.0.tar.bz2 \
|
||||||
|
&& cat *.patch | patch -p1 \
|
||||||
|
&& ./Configure -Duse64bitall -Duseshrplib -des \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& TEST_JOBS=$(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 /tmp/*
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
CMD ["perl5.24.0","-de0"]
|
Loading…
Add table
Reference in a new issue