diff --git a/5.008.009-64bit,threaded/Dockerfile b/5.008.009-64bit,threaded/Dockerfile index cfe18adb..acd48d88 100644 --- a/5.008.009-64bit,threaded/Dockerfile +++ b/5.008.009-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.8.9.tar.bz2 -o perl-5.8.9.tar.b && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.008.009-64bit/Dockerfile b/5.008.009-64bit/Dockerfile index 886a4835..98ba7832 100644 --- a/5.008.009-64bit/Dockerfile +++ b/5.008.009-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.8.9.tar.bz2 -o perl-5.8.9.tar.b && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.010.001-64bit,threaded/Dockerfile b/5.010.001-64bit,threaded/Dockerfile index bc0933c3..44adbfdf 100644 --- a/5.010.001-64bit,threaded/Dockerfile +++ b/5.010.001-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2 -o perl-5.10.1.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.010.001-64bit/Dockerfile b/5.010.001-64bit/Dockerfile index b20c47b7..f4deaa5b 100644 --- a/5.010.001-64bit/Dockerfile +++ b/5.010.001-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2 -o perl-5.10.1.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.012.005-64bit,threaded/Dockerfile b/5.012.005-64bit,threaded/Dockerfile index a8c70ff4..ee74d12b 100644 --- a/5.012.005-64bit,threaded/Dockerfile +++ b/5.012.005-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.12.5.tar.bz2 -o perl-5.12.5.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.012.005-64bit/Dockerfile b/5.012.005-64bit/Dockerfile index efa07207..99e8c287 100644 --- a/5.012.005-64bit/Dockerfile +++ b/5.012.005-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.12.5.tar.bz2 -o perl-5.12.5.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.014.004-64bit,threaded/Dockerfile b/5.014.004-64bit,threaded/Dockerfile index 55a36d1b..1d696951 100644 --- a/5.014.004-64bit,threaded/Dockerfile +++ b/5.014.004-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.14.4.tar.bz2 -o perl-5.14.4.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.014.004-64bit/Dockerfile b/5.014.004-64bit/Dockerfile index 11539eda..d1f02f89 100644 --- a/5.014.004-64bit/Dockerfile +++ b/5.014.004-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.14.4.tar.bz2 -o perl-5.14.4.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.016.003-64bit,threaded/Dockerfile b/5.016.003-64bit,threaded/Dockerfile index 3a9b2910..eaeb617f 100644 --- a/5.016.003-64bit,threaded/Dockerfile +++ b/5.016.003-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.16.3.tar.bz2 -o perl-5.16.3.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.016.003-64bit/Dockerfile b/5.016.003-64bit/Dockerfile index bf02d1f3..98e2bb35 100644 --- a/5.016.003-64bit/Dockerfile +++ b/5.016.003-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.16.3.tar.bz2 -o perl-5.16.3.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.018.004-64bit,threaded/Dockerfile b/5.018.004-64bit,threaded/Dockerfile index dd806872..bbf62be6 100644 --- a/5.018.004-64bit,threaded/Dockerfile +++ b/5.018.004-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.18.4.tar.bz2 -o perl-5.18.4.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.018.004-64bit/Dockerfile b/5.018.004-64bit/Dockerfile index e299a7ad..d9a1cc7a 100644 --- a/5.018.004-64bit/Dockerfile +++ b/5.018.004-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.18.4.tar.bz2 -o perl-5.18.4.tar && make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.020.003-64bit,threaded/Dockerfile b/5.020.003-64bit,threaded/Dockerfile index 00a6d261..f3a30ad0 100644 --- a/5.020.003-64bit,threaded/Dockerfile +++ b/5.020.003-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.20.3.tar.bz2 -o perl-5.20.3.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.020.003-64bit/Dockerfile b/5.020.003-64bit/Dockerfile index 76e989bd..21eeb25c 100644 --- a/5.020.003-64bit/Dockerfile +++ b/5.020.003-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.20.3.tar.bz2 -o perl-5.20.3.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.022.004-64bit,threaded/Dockerfile b/5.022.004-64bit,threaded/Dockerfile index f6dbc6fb..4281bfca 100644 --- a/5.022.004-64bit,threaded/Dockerfile +++ b/5.022.004-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.22.4.tar.bz2 -o perl-5.22.4.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.022.004-64bit/Dockerfile b/5.022.004-64bit/Dockerfile index f61a987e..97a3c184 100644 --- a/5.022.004-64bit/Dockerfile +++ b/5.022.004-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.22.4.tar.bz2 -o perl-5.22.4.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.024.002-64bit,threaded/Dockerfile b/5.024.002-64bit,threaded/Dockerfile index 36090642..ee6b3683 100644 --- a/5.024.002-64bit,threaded/Dockerfile +++ b/5.024.002-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.24.2.tar.bz2 -o perl-5.24.2.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.024.002-64bit/Dockerfile b/5.024.002-64bit/Dockerfile index a46ce7bd..e5fa5a08 100644 --- a/5.024.002-64bit/Dockerfile +++ b/5.024.002-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.24.2.tar.bz2 -o perl-5.24.2.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.026.000-64bit,threaded/Dockerfile b/5.026.000-64bit,threaded/Dockerfile index 1421bb8c..e2da41f2 100644 --- a/5.026.000-64bit,threaded/Dockerfile +++ b/5.026.000-64bit,threaded/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.26.0.tar.bz2 -o perl-5.26.0.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/5.026.000-64bit/Dockerfile b/5.026.000-64bit/Dockerfile index 39eb266f..4d5839c5 100644 --- a/5.026.000-64bit/Dockerfile +++ b/5.026.000-64bit/Dockerfile @@ -14,10 +14,10 @@ RUN curl -SL https://www.cpan.org/src/5.0/perl-5.26.0.tar.bz2 -o perl-5.26.0.tar && TEST_JOBS=$(nproc) make test_harness \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz \ + && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - \ + && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* WORKDIR /root diff --git a/generate.pl b/generate.pl index c910d738..4baa5a26 100755 --- a/generate.pl +++ b/generate.pl @@ -45,6 +45,13 @@ sub die_with_sample { "64bit,threaded" => "-Dusethreads -Duse64bitall $common", ); +# sha256 taken from http://www.cpan.org/authors/id/M/MI/MIYAGAWA/CHECKSUMS +my %cpanm = ( + name => "App-cpanminus-1.7043", + url => "http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz", + sha256 => "68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65", +); + die_with_sample unless defined $yaml->{releases}; die_with_sample unless ref $yaml->{releases} eq "ARRAY"; @@ -90,10 +97,12 @@ sub die_with_sample { $release->{url} = $url; $release->{extra_flags} = "" unless defined $release->{extra_flags}; $release->{_tag} = $release->{buildpack_deps} || "stretch"; + $release->{"cpanm_dist_$_"} = $cpanm{$_} for keys %cpanm; for my $config (keys %builds) { my $output = $template; - $output =~ s/\{\{$_\}\}/$release->{$_}/mg for (qw(version extra_flags sha256 url _tag)); + $output =~ s/\{\{$_\}\}/$release->{$_}/mg + for (qw(version pause extra_flags sha256 url _tag cpanm_dist_name cpanm_dist_url cpanm_dist_sha256)); $output =~ s/\{\{args\}\}/$builds{$config}/mg; my $dir = sprintf "%i.%03i.%03i-%s", @@ -201,10 +210,10 @@ =head1 DESCRIPTION && {{test}} \ && make install \ && cd /usr/src \ - && curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \ - && chmod +x cpanm \ - && ./cpanm App::cpanminus \ - && rm -fr ./cpanm /root/.cpanm /usr/src/perl /tmp/* + && curl -LO {{cpanm_dist_url}} \ + && echo '{{cpanm_dist_sha256}} *{{cpanm_dist_name}}.tar.gz' | sha256sum -c - \ + && tar -xzf {{cpanm_dist_name}}.tar.gz && cd {{cpanm_dist_name}} && perl bin/cpanm . && cd /root \ + && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/{{cpanm_dist_name}}* /tmp/* WORKDIR /root