File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-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.20.1.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
+ WORKDIR /usr/src
18
+ RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
19
+ && chmod +x cpanm \
20
+ && ./cpanm App::cpanminus \
21
+ && rm ./cpanm
22
+
23
+ WORKDIR /root
24
+
25
+ CMD ["perl5.20.1" ,"-de0" ]
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.20.1.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
+ WORKDIR /usr/src
18
+ RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
19
+ && chmod +x cpanm \
20
+ && ./cpanm App::cpanminus \
21
+ && rm ./cpanm
22
+
23
+ WORKDIR /root
24
+
25
+ CMD ["perl5.20.1" ,"-de0" ]
You can’t perform that action at this time.
0 commit comments