Skip to content

Commit 1465412

Browse files
committed
generate.pl: Add App::cpm
This installs App::cpm (using the author's preferred means, modified to use the current latest tagged version,) to provide yet another alternative to the standard CPAN.pm module installer.
1 parent 37fe216 commit 1465412

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generate.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ =head1 DESCRIPTION
300300
&& echo '{{cpanm_dist_sha256}} *{{cpanm_dist_name}}.tar.gz' | sha256sum -c - \
301301
&& tar -xzf {{cpanm_dist_name}}.tar.gz && cd {{cpanm_dist_name}} && perl bin/cpanm . && cd /root \
302302
&& cpanm IO::Socket::SSL \
303+
&& cd /usr/local/bin && curl -LO https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm && chmod +x cpm \
303304
&& {{docker_slim_run_purge}} \
304305
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/{{cpanm_dist_name}}* /tmp/*
305306

0 commit comments

Comments
 (0)