File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM buildpack-deps
2
+ MAINTAINER Peter Martini <
[email protected] >
3
+
4
+ RUN apt-get update && apt-get install -y curl procps
5
+
6
+ RUN mkdir /usr/src/perl
7
+ WORKDIR /usr/src/perl
8
+ RUN curl -SL http://www.cpan.org/src/5.0/perl-5.18.2.tar.gz \
9
+ | tar -xz --strip-components=1
10
+
11
+ RUN ./Configure -Dusethreads -Duse64bitall -des \
12
+ && make -j$(nproc) \
13
+ && TEST_JOBS=$(nproc) make test_harness \
14
+ && make install \
15
+ && make veryclean
16
+
17
+ CMD ["perl5.18.2 -V" ]
18
+
19
+ WORKDIR /root
20
+ RUN rm -fR /usr/src/perl
Original file line number Diff line number Diff line change
1
+ FROM buildpack-deps
2
+ MAINTAINER Peter Martini <
[email protected] >
3
+
4
+ RUN apt-get update && apt-get install -y curl procps
5
+
6
+ RUN mkdir /usr/src/perl
7
+ WORKDIR /usr/src/perl
8
+ RUN curl -SL http://www.cpan.org/src/5.0/perl-5.18.2.tar.gz \
9
+ | tar -xz --strip-components=1
10
+
11
+ RUN ./Configure -Duse64bitall -des \
12
+ && make -j$(nproc) \
13
+ && TEST_JOBS=$(nproc) make test_harness \
14
+ && make install \
15
+ && make veryclean
16
+
17
+ CMD ["perl5.18.2 -V" ]
18
+
19
+ WORKDIR /root
20
+ RUN rm -fR /usr/src/perl
You can’t perform that action at this time.
0 commit comments