Open thrix opened 2 years ago
I'd say tmt should set entrypoint to bash
(as you pointed in #1047) but there should be way for user to keep entrypoint as is (if they know what they are doing) or to set it to their preferred value. TMT will just assume it behaves as if it was unset/set to bash
@lukaszachy agreed, seems like a good step forward. And document tmt
right now requires bash in the container to work
While working on our CLI tool, I found this annoyance, if I have
ENTRYPOINT
set,tmt
starts the container with the command and just exits, subsequent commands file. The error is cryptic:I believe we should support setting entrypoint in these cases or maybe even force entrypoint to
sh
? WDYT @lukaszachy @psss ?