Add 5.18.2, threaded and not

This commit is contained in:
Peter Martini 2014-07-06 23:46:05 -04:00
parent fc5420d26e
commit a2e267efb9
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,20 @@
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.18.2.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
CMD ["perl5.18.2 -V"]
WORKDIR /root
RUN rm -fR /usr/src/perl

View file

@ -0,0 +1,20 @@
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.18.2.tar.gz \
| tar -xz --strip-components=1
RUN ./Configure -Duse64bitall -des \
&& make -j$(nproc) \
&& TEST_JOBS=$(nproc) make test_harness \
&& make install \
&& make veryclean
CMD ["perl5.18.2 -V"]
WORKDIR /root
RUN rm -fR /usr/src/perl