Dockerfile for 5.020, defaults for Ubuntu
This commit is contained in:
commit
4fa2d028b5
1 changed files with 17 additions and 0 deletions
17
5.020.000/Dockerfile
Normal file
17
5.020.000/Dockerfile
Normal 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"]
|
Loading…
Add table
Reference in a new issue