Added Perl 5.20.1
This commit is contained in:
parent
8da8b01cd2
commit
ca37376ecd
2 changed files with 50 additions and 0 deletions
25
5.020.001-64bit,threaded/Dockerfile
Normal file
25
5.020.001-64bit,threaded/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
FROM buildpack-deps
|
||||||
|
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y curl procps
|
||||||
|
|
||||||
|
RUN mkdir /usr/src/perl
|
||||||
|
WORKDIR /usr/src/perl
|
||||||
|
RUN curl -SL http://www.cpan.org/src/5.0/perl-5.20.1.tar.gz \
|
||||||
|
| tar -xz --strip-components=1
|
||||||
|
|
||||||
|
RUN ./Configure -Dusethreads -Duse64bitall -des \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& TEST_JOBS=$(nproc) make test_harness \
|
||||||
|
&& make install \
|
||||||
|
&& make veryclean
|
||||||
|
|
||||||
|
WORKDIR /usr/src
|
||||||
|
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
|
||||||
|
&& chmod +x cpanm \
|
||||||
|
&& ./cpanm App::cpanminus \
|
||||||
|
&& rm ./cpanm
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
CMD ["perl5.20.1","-de0"]
|
25
5.020.001-64bit/Dockerfile
Normal file
25
5.020.001-64bit/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
FROM buildpack-deps
|
||||||
|
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y curl procps
|
||||||
|
|
||||||
|
RUN mkdir /usr/src/perl
|
||||||
|
WORKDIR /usr/src/perl
|
||||||
|
RUN curl -SL http://www.cpan.org/src/5.0/perl-5.20.1.tar.gz \
|
||||||
|
| tar -xz --strip-components=1
|
||||||
|
|
||||||
|
RUN ./Configure -Duse64bitall -des \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& TEST_JOBS=$(nproc) make test_harness \
|
||||||
|
&& make install \
|
||||||
|
&& make veryclean
|
||||||
|
|
||||||
|
WORKDIR /usr/src
|
||||||
|
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
|
||||||
|
&& chmod +x cpanm \
|
||||||
|
&& ./cpanm App::cpanminus \
|
||||||
|
&& rm ./cpanm
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
CMD ["perl5.20.1","-de0"]
|
Loading…
Add table
Reference in a new issue