I want to execute a python-based pre-receive hook in our GitHub Enterprise installation.
I uploaded a CentOS7 Docker image and a CentOS7 chroot ENV, and neither work. Both produce the same error when the hook is accessed during the push:
remote: hooks/script: failed with exit status 1
remote: execvp: No such file or directory
I assume this is the result of a fundamental config issue on the GitHub Enterprise server since both images work correctly outside of GitHub, e.g., I can run that python script in either ENV outside of GitHub.
Are there additional permissions, etc. required on the GitHub Enterprise server in order to allow a custom pre-receive hook ENV to function properly?
Thanks in advance!