Skip to content

replace 'sh' for 'bash' in docker container #20

@c-nv-s

Description

@c-nv-s

In trying to avoid creating temporary files to store data which could just be kept in variables it is possible in bash to use the following syntax of process substitution and input redirection in order to pass data onto other commands:

{ read -d '' result ; }< <( curl http://myjsonapi.com/page1 | jq '.[0].somedatapoint' ) && anothercommand <<< "$result"

unfortunately this syntax isn't supported in 'sh' and an unexpected redirect error is received.
Is it possible to use bash in the docker containers instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions