Graceful stop of service with docker stop

This seems to be using the shell syntax which is known to not propagate signals. Instead of:

ENTRYPOINT bin/id-impl -Dconfig. ...

it should be using the syntax:

ENTRYPOINT ["bin/id-impl", "-Dconfig. ..."more", "arguments", "here" ]

Is there a repo and a set of instructions you can share to reproduce this? I’ve tried with chirper and I think chirper uses the correct syntax.