Split perlbrew install-multiple into separate RUN cmd

This allows changing which Perls are used etc. without
re-bootstrapping perlbrew.
This commit is contained in:
Adam Spiers 2019-06-28 23:54:30 +01:00
parent 2a4c3d3120
commit 8b2123847d
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ ENV HOME=/root \
PERLBREW_PATH=/usr/local/perlbrew/bin
RUN mkdir -p /usr/local/perlbrew /root \
&& perlbrew init \
&& perlbrew install-cpanm \
&& perlbrew install-patchperl \
&& perlbrew install-multiple -j 4 --notest \
&& perlbrew install-cpanm \
&& perlbrew install-patchperl
RUN perlbrew install-multiple -j 4 --notest \
perl-5.22.2 \
perl-5.20.3 \
perl-5.18.4 \