From b1f30b97eb02d3e567b09c50419562730525eb53 Mon Sep 17 00:00:00 2001 From: "Zak B. Elep" Date: Fri, 1 Aug 2014 11:26:17 +0800 Subject: [PATCH] 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. --- 5.018.002-64bit,threaded/Dockerfile | 6 ++++++ 5.018.002-64bit/Dockerfile | 6 ++++++ 5.020.000-64bit,threaded/Dockerfile | 6 ++++++ 5.020.000-64bit/Dockerfile | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/5.018.002-64bit,threaded/Dockerfile b/5.018.002-64bit,threaded/Dockerfile index 7da8584..f31588a 100644 --- a/5.018.002-64bit,threaded/Dockerfile +++ b/5.018.002-64bit,threaded/Dockerfile @@ -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"] diff --git a/5.018.002-64bit/Dockerfile b/5.018.002-64bit/Dockerfile index 8ae2e0e..7f1d78f 100644 --- a/5.018.002-64bit/Dockerfile +++ b/5.018.002-64bit/Dockerfile @@ -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"] diff --git a/5.020.000-64bit,threaded/Dockerfile b/5.020.000-64bit,threaded/Dockerfile index 4c48a42..f78984b 100644 --- a/5.020.000-64bit,threaded/Dockerfile +++ b/5.020.000-64bit,threaded/Dockerfile @@ -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"] diff --git a/5.020.000-64bit/Dockerfile b/5.020.000-64bit/Dockerfile index 44662d0..2e4c16a 100644 --- a/5.020.000-64bit/Dockerfile +++ b/5.020.000-64bit/Dockerfile @@ -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"]