-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Invalid configuration path #135
Comments
captainhook/src/Hook/Template/Docker.php Line 87 in 64b405d
this is where the slash is lost |
I know it is a bit counter intuitive that the relative path is used no matter what you do and especially for docker setups it would be best to use absolute path anyway. I will do some testing and make sure everything still works if I use the absolute path in that position. But this will take a bit of time. In the meantime, you can specify the working directory for the Add working directory to exec command
Define container working directory in your docker file
|
@sebastianfeldmann, so, what is the verdict? |
Have you tried to define your working directory for your container? |
🤔 good point, I will look into it a bit further |
I configured captainhook and I get an error with the configuration path.
This is due to the wrong path:
The right path for me: /api/captainhook.json (with slash)
but I can't put it in any way.
My command:
captainhook install -f -s -c "/api/captainhook.json"
the first slash is always ignored
The text was updated successfully, but these errors were encountered: