-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Is your feature request related to a problem? Please describe.
I am finding it difficult to demo a container running with the container command as configured, first.
Second, I am finding it difficult running a container command with a shell script.
Third, I am finding it difficult to run a generic container with a command line entrypoint.
Describe the solution you'd like
Ideally I would submit a container with a CLI command or entrypoint to Fission, and invoke it via fission fn test, and then via http GET with a body that is passed to the command line command on STDIN, as a start.
This will be an enormous help for two reasons:
- I am not standing up an API to service any kind of optimization
- I may be sending data to a command line tool for processing via either CLI (dev), or API (prod), but I don't want to have devs standing up APIs for the sole purpose of fitting into a tool. All things are actually leveraged on the command line during dev and in operation.
If I can simply have an example that works, that would be a major help. I don't see any way to do it with the binary-env. While it does exist and is supported, there are no available examples.
Once I can prove I can:
- run a shell script
- provide my own image
Then I know anything is possible with, more or less, minimal extra work.