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

added changes to use perl from docker image instead of local #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nareshkumarthota
Copy link
Collaborator

@nareshkumarthota nareshkumarthota commented Feb 6, 2025

This PR fixes #374

Copy link
Collaborator

@rameshpolishetti rameshpolishetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nareshkumarthota Looks good except some error message improvements commented inline.
Also submit similar changes for .bat files.

@@ -130,8 +130,28 @@ ARG_JRESPLMNT_VERSION="na"
ARG_JRESPLMNT_SHORT_VERSION="na"
ARG_JRESPLMNT_HOTFIX="na"

#Pre check perl existance
PERL_UTILITY_CHECK="false"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nareshkumarthota can you rename PERL_UTILITY_CHECK flag to something like PERL_INSTALLED?

if docker image inspect $PERL_UTILITY_IMAGE_NAME > /dev/null 2>&1; then
docker rmi -f $PERL_UTILITY_IMAGE_NAME > /dev/null 2>&1
fi
echo "ERROR: Build tool[buildah] not supported. Please install docker or perl utility."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nareshkumarthota buildah not supported is misleading. Improve error message with something like:
ERROR: PERL not installed. Please install PERL to proceed.

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.

Enhance the build scripts to remove perl dependency
2 participants