Closed dyson closed 10 years ago
You need to capture stdin and echo it back out in the plugin as plugin-hooks pipelines STDIN: https://github.com/progrium/pluginhook
They also receive STDIN in a pipelined fashion.
This is how I handle it: https://github.com/dyson/dokku-persistent-storage/blob/master/docker-args
Right - thanks for that. Forgot that each plugin concatenates STDIN (pluginhook has a parallel mode but I don't think dokku ever uses it).
You need to capture stdin and echo it back out in the plugin as plugin-hooks pipelines STDIN: https://github.com/progrium/pluginhook
They also receive STDIN in a pipelined fashion.
This is how I handle it: https://github.com/dyson/dokku-persistent-storage/blob/master/docker-args