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

Only call entrypoint once #5

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

Conversation

seiferma
Copy link
Contributor

@seiferma seiferma commented Dec 7, 2021

This PR fixes an issue when calling mvn from within the container multiple times or when calling mvn via a command.

The issue occurred because we called the entrypoint from within the mvn command. However, the entrypoint unsets a variable, which is important to run the command in the entrypoint.

In the pull request, the entrypoint is no longer called from the mvn command. Instead, an initialization script is called before running the original mvn binary. In addition, the initialization script only runs once.

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.

1 participant