Skip to content

Shell Script #91

@chrisdonlan

Description

@chrisdonlan

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:

  1. I am not standing up an API to service any kind of optimization
  2. 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:

  1. run a shell script
  2. provide my own image

Then I know anything is possible with, more or less, minimal extra work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions