ai-perl-base/Dockerfile
Ryan Voots a9e2a0ae42
All checks were successful
ci/woodpecker/push/build Pipeline was successful
typo
2023-07-30 07:14:18 -04:00

15 lines
574 B
Docker

FROM debian:bookworm
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 perl-5.38.0" >> ~/.bashrc
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