grammarly/rocker

CMD doesn't respect dockerfile syntax, needs to be used as in the command line

Closed this issue · 1 comments

tanty commented

My Rockerfile has:

...
CMD ["/bin/sh", "-c", "echo hello"]
...

And fails with:

/bin/sh: 1: [/bin/sh,: not found

However, it works if I write:

...
CMD "/bin/sh" "-c" "echo hello"
...

Thanks for reporting. Unfortunately, we are discontinuing this project. See the notice here: https://github.com/grammarly/rocker/blob/master/README.md

Closing this issue as we are not able to address it. Sorry.