Skip to content

Commit 4fa2d02

Browse files
committed
Dockerfile for 5.020, defaults for Ubuntu
0 parents  commit 4fa2d02

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

5.020.000/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM buildpack-deps
2+
3+
RUN apt-get update && apt-get install -y curl procps
4+
5+
RUN mkdir /usr/src/perl
6+
WORKDIR /usr/src/perl
7+
# RUN curl -SL http://www.cpan.org/src/5.0/perl-5.20.0.tar.gz \
8+
RUN curl -SL http://localhost/src/5.0/perl-5.20.0.tar.gz \
9+
| tar -xz --strip-components=1
10+
11+
RUN ./Configure -des \
12+
&& make -j$(nproc) \
13+
&& TEST_JOBS=8 make test_harness \
14+
&& make install \
15+
&& make veryclean
16+
17+
CMD ["perl5.20.0 -V"]

0 commit comments

Comments
 (0)