Dockerfile for 5.020, defaults for Ubuntu

This commit is contained in:
Peter Martini 2014-07-05 11:26:57 -04:00
commit 4fa2d028b5

17
5.020.000/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM buildpack-deps
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 \
RUN curl -SL http://localhost/src/5.0/perl-5.20.0.tar.gz \
| tar -xz --strip-components=1
RUN ./Configure -des \
&& make -j$(nproc) \
&& TEST_JOBS=8 make test_harness \
&& make install \
&& make veryclean
CMD ["perl5.20.0 -V"]