Graceful stop of service with docker stop

Sure from the TagWriter issue I have the that repro at https://github.com/jibbers42/lagom-write-tag-fail. It generates a similar Dockerfile:

FROM openjdk:8-jdk-slim-stretch
WORKDIR /opt/docker
ADD --chown=daemon:daemon opt /opt
USER daemon
ENTRYPOINT bin/hello-impl  -Dhttp.address="$(eval "echo $SERVICE_BIND_ADDRESS")" -Dhttp.port="$(eval "echo $SERVICE_BIND_PORT")" -Dakka.remote.netty.tcp.hostname="$(eval "echo $AKKA_REMOTING_HOST")" -Dakka.remote.netty.tcp.port="$(eval "echo $AKKA_REMOTING_PORT")" -Dakka.remote.netty.tcp.bind-hostname="$(eval "echo $AKKA_REMOTING_BIND_HOST")" -Dakka.remote.netty.tcp.bind-port="$(eval "echo $AKKA_REMOTING_BIND_PORT")"
CMD []

The docker config inspiration comes from https://github.com/lagom/lagom-java-chirper-example/blob/f422d7507b62ccabcd4e77c3f449269a7e664ef4/build.sbt#L70.