Add 5.18.2, threaded and not
This commit is contained in:
parent
fc5420d26e
commit
a2e267efb9
2 changed files with 40 additions and 0 deletions
20
5.018.002-64bit,threaded/Dockerfile
Normal file
20
5.018.002-64bit,threaded/Dockerfile
Normal 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
|
20
5.018.002-64bit/Dockerfile
Normal file
20
5.018.002-64bit/Dockerfile
Normal 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
|
Loading…
Add table
Reference in a new issue