Skip to content

Commit 7e33326

Browse files
committed
Add 5.24.0
1 parent cf4cc6d commit 7e33326

File tree

4 files changed

+82
-0
lines changed

4 files changed

+82
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/patchlevel.h b/patchlevel.h
2+
index bcb921f..a171acb 100644
3+
--- a/patchlevel.h
4+
+++ b/patchlevel.h
5+
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
6+
,"uncommitted-changes"
7+
#endif
8+
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
9+
+ ,"Devel::PatchPerl 1.42"
10+
,NULL
11+
};
12+

5.024.000-64bit,threaded/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <[email protected]>
3+
4+
RUN apt-get update \
5+
&& apt-get install -y curl procps \
6+
&& rm -fr /var/lib/apt/lists/*
7+
8+
RUN mkdir /usr/src/perl
9+
COPY *.patch /usr/src/perl/
10+
WORKDIR /usr/src/perl
11+
12+
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 \
13+
&& echo '298fa605138c1a00dab95643130ae0edab369b4d *perl-5.24.0.tar.bz2' | sha1sum -c - \
14+
&& tar --strip-components=1 -xjf perl-5.24.0.tar.bz2 -C /usr/src/perl \
15+
&& rm perl-5.24.0.tar.bz2 \
16+
&& cat *.patch | patch -p1 \
17+
&& ./Configure -Dusethreads -Duse64bitall -Duseshrplib -des \
18+
&& make -j$(nproc) \
19+
&& TEST_JOBS=$(nproc) make test_harness \
20+
&& make install \
21+
&& cd /usr/src \
22+
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
23+
&& chmod +x cpanm \
24+
&& ./cpanm App::cpanminus \
25+
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/*
26+
27+
WORKDIR /root
28+
29+
CMD ["perl5.24.0","-de0"]

5.024.000-64bit/DevelPatchPerl.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/patchlevel.h b/patchlevel.h
2+
index bcb921f..a171acb 100644
3+
--- a/patchlevel.h
4+
+++ b/patchlevel.h
5+
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
6+
,"uncommitted-changes"
7+
#endif
8+
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
9+
+ ,"Devel::PatchPerl 1.42"
10+
,NULL
11+
};
12+

5.024.000-64bit/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <[email protected]>
3+
4+
RUN apt-get update \
5+
&& apt-get install -y curl procps \
6+
&& rm -fr /var/lib/apt/lists/*
7+
8+
RUN mkdir /usr/src/perl
9+
COPY *.patch /usr/src/perl/
10+
WORKDIR /usr/src/perl
11+
12+
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 \
13+
&& echo '298fa605138c1a00dab95643130ae0edab369b4d *perl-5.24.0.tar.bz2' | sha1sum -c - \
14+
&& tar --strip-components=1 -xjf perl-5.24.0.tar.bz2 -C /usr/src/perl \
15+
&& rm perl-5.24.0.tar.bz2 \
16+
&& cat *.patch | patch -p1 \
17+
&& ./Configure -Duse64bitall -Duseshrplib -des \
18+
&& make -j$(nproc) \
19+
&& TEST_JOBS=$(nproc) make test_harness \
20+
&& make install \
21+
&& cd /usr/src \
22+
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
23+
&& chmod +x cpanm \
24+
&& ./cpanm App::cpanminus \
25+
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/*
26+
27+
WORKDIR /root
28+
29+
CMD ["perl5.24.0","-de0"]

0 commit comments

Comments
 (0)