Skip to content

Commit d1db054

Browse files
committed
uses cpanm instead of cpm to install outdated modules
The list is going to be empty in most cases. This is a safety to make sure all deps installed before we start are up to date. This is avoiding the error from cpm: “Need arguments or cpanfile”
1 parent 8ac5bf9 commit d1db054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ RUN cpanm -nq App::cpm Carton::Snapshot
1818

1919
RUN cpm install -g --show-build-log-on-failure --cpanfile /tmp/cpanfile
2020

21-
RUN cpan-outdated --exclude-core -p | xargs -n 1 cpm install -g --show-build-log-on-failure
21+
RUN cpan-outdated --exclude-core -p | xargs -n1 cpanm
2222

2323
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)