Added 64bit, threads, and 64bit+threads

This commit is contained in:
Peter Martini 2014-07-06 23:17:34 -04:00
parent b2d9266f92
commit 1cf4bf2414
3 changed files with 60 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.20.0.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.20.0 -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.20.0.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.20.0 -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.20.0.tar.gz \
| tar -xz --strip-components=1
RUN ./Configure -Dusethreads -des \
&& make -j$(nproc) \
&& TEST_JOBS=$(nproc) make test_harness \
&& make install \
&& make veryclean
CMD ["perl5.20.0 -V"]
WORKDIR /root
RUN rm -fR /usr/src/perl