diff --git a/dockerfiles/Dockerfile.centos-7 b/dockerfiles/Dockerfile.centos-7 index cc3aed4..722051a 100644 --- a/dockerfiles/Dockerfile.centos-7 +++ b/dockerfiles/Dockerfile.centos-7 @@ -17,6 +17,12 @@ RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ perl-Data-Dumper \ git +RUN yum install -y perl perl-CPAN perl-App-cpanminus +# Test::More と Sub::Util をインストール +RUN cpanm Test::More +RUN cpanm Sub::Util + + RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} RUN sed -i "s;%_build_name_fmt.*;%_build_name_fmt\t%%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.el7.rpm;" /usr/lib/rpm/macros