Adding on the CPAN mirror settings for Carton and cpanminus

This commit is contained in:
James Jones
2024-02-10 06:39:14 -05:00
parent 385831a829
commit 894ead3b8d

View File

@@ -51,4 +51,8 @@ RUN gem install ffi \
# Setting up Pypi to use proxy # Setting up Pypi to use proxy
RUN curl -k -s -o - \ RUN curl -k -s -o - \
https://nexus.jamesjonesconsulting.com/repository/package-config/pypi/python3-pypi-repos.sh |\ https://nexus.jamesjonesconsulting.com/repository/package-config/pypi/python3-pypi-repos.sh |\
bash bash
# Adding on the CPAN mirror settings for Carton and cpanminus
ENV PERL_CPANM_OPT="--mirror https://nexus.jamesjonesconsulting.com/repository/cpan-proxy/" \
PERL_CARTON_MIRROR=https://nexus.jamesjonesconsulting.com/repository/cpan-proxy/