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

Fix installing dependencies via cpan in docker #824

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

luxaritas
Copy link
Contributor

I did some debugging on why the cpan command was failing. It turns out it was because installing Digest::MD5 relies on a c compiler being present. This resolves the issue by installing gcc. In order to not bloat the image, I've introduced an additional stage purely for the build process (installing dependencies, etc). This also means dos2unix is not included in the final stage, and ca-certificates has also been moved to the test stage (the only stage that actually needs it)

@AlDanial AlDanial merged commit 98fba01 into AlDanial:master Mar 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants