Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpanfile ignored during build process #4

Open
tmiklas opened this issue May 17, 2019 · 0 comments
Open

cpanfile ignored during build process #4

tmiklas opened this issue May 17, 2019 · 0 comments

Comments

@tmiklas
Copy link

tmiklas commented May 17, 2019

Issue:
The empty cpanfile located in the template is always used during the build, ignoring any other cpanfile that user may create. This results in container with missing dependencies - not working at all unless there is no dependencies beyond core Perl module set.

Suggested fix/workaround:
Move cpanfile into function directory within template, copy directory first and use cpanminus rather than Carton to install dependencies from it.

Note:
Switching to cpanminus should also remove the need to use carton exec in fprocess and effectively remove one level of wrapper as library paths are added to main.pl anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant