Skip to content

Commit ca37376

Browse files
committed
Added Perl 5.20.1
1 parent 8da8b01 commit ca37376

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

5.020.001-64bit,threaded/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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.20.1.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+
WORKDIR /usr/src
18+
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
19+
&& chmod +x cpanm \
20+
&& ./cpanm App::cpanminus \
21+
&& rm ./cpanm
22+
23+
WORKDIR /root
24+
25+
CMD ["perl5.20.1","-de0"]

5.020.001-64bit/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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.20.1.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+
WORKDIR /usr/src
18+
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
19+
&& chmod +x cpanm \
20+
&& ./cpanm App::cpanminus \
21+
&& rm ./cpanm
22+
23+
WORKDIR /root
24+
25+
CMD ["perl5.20.1","-de0"]

0 commit comments

Comments
 (0)