Fix paths
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Automation Pipeline 2023-10-09 10:59:48 -04:00
parent b54999a014
commit 950bdf88ad

View file

@ -1,5 +1,6 @@
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
@ -7,7 +8,7 @@ RUN bash -c "source $HOME/perl5/perlbrew/etc/bashrc; perlbrew init && perlbrew i
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 --installdeps . --verbose && rm cpanfile"
ENV PATH="/home/rootless/perl5/perlbrew/bin:/home/rootless/perl5/perlbrew/perls/perl-5.38.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ENV PERLBREW_HOME="/home/rootless/.perlbrew"
ENV PERLBREW_ROOT="/home/rootless/perl5/perlbrew"
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"