Perl / docker-perl

Dockerfiles for index.docker.io (official Perl Docker image)

Home Page:https://registry.hub.docker.com/_/perl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ support ] Where would PERL5LIB default on this image?

smonff opened this issue · comments

Hi,

I try to use this image in Gitlab-CI. I have this question about the default location of PERL5LIB if I don't set it by myself. I mean, if I do something like cpanm Mojolicious, will the modules install in /usr/local/lib/perl5?

Thanks.

Maybe the answer for strictly PERL5LIB env is nowhere because it is not set :/ ?

  • PERL5LIB is unset.

  • if I do something like cpanm Mojolicious, will the modules install in /usr/local/lib/perl5?

    Yes.

HI @smonff ! Yes, @skaji is right, and to further the point, we also do not define/set any other environment variables such as PERL5OPT either; we leave those to the discretion of the users of this image.