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

Add new option so umeq use PATH to search for target executable and handle shebang exe #5

Open
mickael-guene opened this issue Jul 29, 2016 · 0 comments
Assignees

Comments

@mickael-guene
Copy link
Owner

So this new option will have two effects:

  • The first one is to use PATH environment variable to find target executable unless path is in absolute form.
  • The second one is to allow to give a shell script (or other shebang file) as target executable.

Final goal is to improve docker user experience when using docker image that embed umeq.

For example if this option as '-1' form we can have such docker file:

ENTRYPOINT ["/usr/bin/umeq-arm64", "-execve", "-1"]
CMD ["bash"]

which allow:

docker run -i -t

but also

docker ls

or

docker my_script.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant