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.
This commit is contained in:
Zak B. Elep 2014-08-01 11:26:17 +08:00
parent 34796bd21f
commit b1f30b97eb
4 changed files with 24 additions and 0 deletions

View file

@ -14,6 +14,12 @@ RUN ./Configure -Dusethreads -Duse64bitall -des \
&& make install \
&& make veryclean
WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm ./cpanm
WORKDIR /root
CMD ["perl5.18.2","-de0"]

View file

@ -14,6 +14,12 @@ RUN ./Configure -Duse64bitall -des \
&& make install \
&& make veryclean
WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm ./cpanm
WORKDIR /root
CMD ["perl5.18.2","-de0"]

View file

@ -14,6 +14,12 @@ RUN ./Configure -Dusethreads -Duse64bitall -des \
&& make install \
&& make veryclean
WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm ./cpanm
WORKDIR /root
CMD ["perl5.20.0","-de0"]

View file

@ -14,6 +14,12 @@ RUN ./Configure -Duse64bitall -des \
&& make install \
&& make veryclean
WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm ./cpanm
WORKDIR /root
CMD ["perl5.20.0","-de0"]