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

Use relative path to script/executable file #82

Merged
merged 1 commit into from
Oct 18, 2019

Conversation

AlexeyMatskevich
Copy link
Contributor

@AlexeyMatskevich AlexeyMatskevich commented Oct 17, 2019

It's PR fix #81
Problem: Lefthook launches runner passing the absolute path to the executable.
The container having the volume mounted from the host machine which provides source code has other paths to the executable files in absolute form.

Solution - use a relative path to executable files.

Perhaps a better solution would be to use a key in a config file that will be determined in what form the path should be transmitted.

@Arkweid
Copy link
Collaborator

Arkweid commented Oct 18, 2019

Great!

@Arkweid Arkweid merged commit 9fed54a into evilmartians:master Oct 18, 2019
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.

Use relative path with docker docker-compose runner
2 participants