Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
a9e2a0ae42 | |||
079e394db9 | |||
52f8826187 |
1 changed files with 8 additions and 2 deletions
10
Dockerfile
10
Dockerfile
|
@ -4,6 +4,12 @@ RUN apt update && apt install -y perlbrew curl
|
|||
RUN perlbrew init && perlbrew install --verbose perl-5.38.0
|
||||
|
||||
RUN perlbrew use perl-5.38.0
|
||||
RUN echo "source /root/perl5/perlbrew/etc/bashrc && perlbrew switch current" >> ~/.bashrc
|
||||
RUN echo "source /root/perl5/perlbrew/etc/bashrc && perlbrew switch perl-5.38.0" >> ~/.bashrc
|
||||
|
||||
RUN perlbrew install-cpanm
|
||||
ENV PERLBREW_ROOT=/root/perl5/perlbrew
|
||||
ENV PERLBREW_HOME=/root/.perlbrew
|
||||
ENV PERLBREW_PATH=/root/perl5//perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.38.0/bin
|
||||
ENV PATH=${PERLBREW_PATH}:${PATH}
|
||||
ENV PERLBREW_MANPATH=/root/perl5/perlbrew/perls/perl-5.38.0/man
|
||||
|
||||
RUN perlbrew install-cpanm && cpanm install --verbose Carton
|
||||
|
|
Loading…
Add table
Reference in a new issue