docker-perl-dind/Dockerfile
Automation Pipeline 6de6a41de1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Disable tests for this for speed and theres one or two false errors
2023-10-09 11:36:05 -04:00

14 lines
853 B
Docker

FROM docker:cli
USER root
ENV HOME=/root
RUN apk update && apk add perl curl bash build-base wget openssl-dev zlib-dev openssl
#USER rootless
RUN curl -L https://install.perlbrew.pl | bash
RUN bash -c "source $HOME/perl5/perlbrew/etc/bashrc; perlbrew init && perlbrew install -j 8 --verbose --notest perl-5.38.0"
WORKDIR /root/
ENV SHELL=/bin/bash
RUN bash -c "source $HOME/perl5/perlbrew/etc/bashrc; perlbrew use perl-5.38.0 && perlbrew install-cpanm && wget https://gitea.simcop2387.info/simcop2387/docker-perl/raw/branch/master/cpanfile && cpanm --notest --installdeps . --verbose && rm cpanfile"
ENV PATH="/root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.38.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ENV PERLBREW_HOME="/root/.perlbrew"
ENV PERLBREW_ROOT="/root/perl5/perlbrew"
ENV PERLBREW_SHELLRC_VERSION="0.98"