Skip to content

Commit a2e267e

Browse files
committed
Add 5.18.2, threaded and not
1 parent fc5420d commit a2e267e

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

5.018.002-64bit,threaded/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <[email protected]>
3+
4+
RUN apt-get update && apt-get install -y curl procps
5+
6+
RUN mkdir /usr/src/perl
7+
WORKDIR /usr/src/perl
8+
RUN curl -SL http://www.cpan.org/src/5.0/perl-5.18.2.tar.gz \
9+
| tar -xz --strip-components=1
10+
11+
RUN ./Configure -Dusethreads -Duse64bitall -des \
12+
&& make -j$(nproc) \
13+
&& TEST_JOBS=$(nproc) make test_harness \
14+
&& make install \
15+
&& make veryclean
16+
17+
CMD ["perl5.18.2 -V"]
18+
19+
WORKDIR /root
20+
RUN rm -fR /usr/src/perl

5.018.002-64bit/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <[email protected]>
3+
4+
RUN apt-get update && apt-get install -y curl procps
5+
6+
RUN mkdir /usr/src/perl
7+
WORKDIR /usr/src/perl
8+
RUN curl -SL http://www.cpan.org/src/5.0/perl-5.18.2.tar.gz \
9+
| tar -xz --strip-components=1
10+
11+
RUN ./Configure -Duse64bitall -des \
12+
&& make -j$(nproc) \
13+
&& TEST_JOBS=$(nproc) make test_harness \
14+
&& make install \
15+
&& make veryclean
16+
17+
CMD ["perl5.18.2 -V"]
18+
19+
WORKDIR /root
20+
RUN rm -fR /usr/src/perl

0 commit comments

Comments
 (0)