diff --git a/author/carton/Dockerfile b/author/carton/Dockerfile index 86b423c9c..e4f98dd06 100644 --- a/author/carton/Dockerfile +++ b/author/carton/Dockerfile @@ -9,7 +9,9 @@ RUN curl --compressed -sSL https://raw.githubusercontent.com/tokuhirom/Perl-Buil RUN apk del perl patch ENV PATH=/opt/perl-5.8/bin:$PATH -RUN curl --compressed -sSL https://cpanmin.us/ | perl - --notest Distribution::Metadata@0.06 App::FatPacker::Simple@0.09 Carton ExtUtils::PL2Bat +RUN curl --compressed -sSL https://cpanmin.us/ \ + | perl - --notest \ + Carton ExtUtils::PL2Bat RUN mkdir -p /tmp/carton WORKDIR /tmp/carton diff --git a/author/cpanm/cpanfile b/author/cpanm/cpanfile index d9905f3eb..365fbadf4 100644 --- a/author/cpanm/cpanfile +++ b/author/cpanm/cpanfile @@ -28,6 +28,7 @@ requires 'HTTP::Tiny', '0.054'; requires 'HTTP::Tinyish', '0.04'; requires 'JSON::PP', '2'; requires 'JSON::PP::Compat5006', '1.09'; +requires 'Module::Build::Tiny', '==0.047'; # 0.048 doesn't work on perl 5.8. requires 'Module::CPANfile'; requires 'Module::CoreList'; requires 'Module::Metadata'; diff --git a/author/cpm/Dockerfile b/author/cpm/Dockerfile index 6c0736f6e..7ee61eaca 100644 --- a/author/cpm/Dockerfile +++ b/author/cpm/Dockerfile @@ -9,7 +9,9 @@ RUN curl --compressed -sSL https://raw.githubusercontent.com/tokuhirom/Perl-Buil RUN apk del perl patch ENV PATH=/opt/perl-5.8/bin:$PATH -RUN curl --compressed -sSL https://cpanmin.us/ | perl - --notest Distribution::Metadata@0.06 App::FatPacker::Simple@0.09 Carton ExtUtils::PL2Bat +RUN curl --compressed -sSL https://cpanmin.us/ \ + | perl - --notest \ + Carton ExtUtils::PL2Bat RUN mkdir -p /tmp/cpm WORKDIR /tmp/cpm diff --git a/author/cpm/cpanfile b/author/cpm/cpanfile index 8a5f26886..8d124d0dc 100644 --- a/author/cpm/cpanfile +++ b/author/cpm/cpanfile @@ -1,6 +1,6 @@ requires 'perl', '5.006'; requires "Devel::GlobalDestruction::XS"; -requires "Module::Build::Tiny"; +requires 'Module::Build::Tiny', '==0.047'; # 0.048 doesn't work on perl 5.8. requires 'CPAN::Meta::Requirements', '==2.140'; # 2.141 doesn't support perl 5.8. requires "App::cpm";