run on specific shell

This commit is contained in:
Abdud Dayan Adeeb
2020-06-17 21:21:47 -04:00
parent 1e284f150e
commit cff4df74be
3 changed files with 33 additions and 4 deletions

View File

@ -6,4 +6,4 @@ fi
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
exec docker run $INPUT_OPTIONS $INPUT_IMAGE /bin/sh -c "`cat semicolon_delimited_script`"
exec docker run $INPUT_OPTIONS $INPUT_IMAGE /bin/$INPUT_SHELL -c "`cat semicolon_delimited_script`"