Skip to content

Commit b1f30b9

Browse files
committed
Add App::cpanminus
This uses the cpanm script from the github repo (avoiding the xrl.us and cpanmin.us aliases) to install the App::cpanminus dist from CPAN.
1 parent 34796bd commit b1f30b9

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

5.018.002-64bit,threaded/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ RUN ./Configure -Dusethreads -Duse64bitall -des \
1414
&& make install \
1515
&& make veryclean
1616

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+
1723
WORKDIR /root
1824

1925
CMD ["perl5.18.2","-de0"]

5.018.002-64bit/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ RUN ./Configure -Duse64bitall -des \
1414
&& make install \
1515
&& make veryclean
1616

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+
1723
WORKDIR /root
1824

1925
CMD ["perl5.18.2","-de0"]

5.020.000-64bit,threaded/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ RUN ./Configure -Dusethreads -Duse64bitall -des \
1414
&& make install \
1515
&& make veryclean
1616

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+
1723
WORKDIR /root
1824

1925
CMD ["perl5.20.0","-de0"]

5.020.000-64bit/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ RUN ./Configure -Duse64bitall -des \
1414
&& make install \
1515
&& make veryclean
1616

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+
1723
WORKDIR /root
1824

1925
CMD ["perl5.20.0","-de0"]

0 commit comments

Comments
 (0)